The functions for query management begin with ade_qry.
ade_qryclear
Clears the current query.
ade_qrydefine
Defines a query.
ade_qryexecute
Executes the current query.
ade_qrygetcond
Gets a query condition.
ade_qrygetdwgandhandle
Gets the source drawing ID and original handle of a queried object.
ade_qrygetentlist
Returns entity handles for objects that satisfy the current query.
ade_qrygetreptransform
Checks whether transformation is enabled for the current report query.
ade_qrygroup
Groups query conditions.
ade_qryhandent
Gets the entity name for the specified handle.
ade_qrylist
Lists the IDs of the current query conditions.
ade_qrysave
Saves the current query.
ade_qrysetaltprop
Turns property alteration on or off.
ade_qrysetcond
Modifies a query condition.
ade_qrysetreptransform
Enables or disables transformation for the current report query.
ade_qrysettype
Sets the query mode: Preview, Draw, or Report.
ade_qryungroup
Ungroups query conditions.