I am trying to get a query defined to retreive objects that have the group code 1040 within a registered application in the EED. But I am not having much luck. The Lisp code below defines the query.
(ade_qrydefine '("" "" "" "Property" ("layer" "=" "XTP?????????""")
(ade_qrydefine '("AND" "" "" "Property" ("objtype" "=" "Line""")
(ade_qrydefine '("AND" "" "" "Data" ("EED" "REALPLUS.1040" "=" "39803.0""")
(ade_qrydefine '("" "" "" "Property" ("layer" "=" "XTP?????????""")
(ade_qrydefine '("AND" "" "" "Property" ("objtype" "=" "Line""")
(ade_qrydefine '("AND" "" "" "Data" ("EED" "REALPLUS.1040" "=" "39803.0""")