Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I've written a plugin workspace for ArcGIS.

I'm able to compose a where clause containing syntax that my implementation of IPluginDatasetHelper understands, assign it to IQueryFilter.Whereclause, and get the expected results from ITable.Search.

However, if I copy and paste the same whereclause into into the layer query Definition expression editor, it fails to verify. Arcmap complains that it is not SQL. In this case, the expression never makes it to my plugin.

Is there someway I can escape my definition expression in Arcmap so that it lets the plugin validate he expression?

share|improve this question
    
Related? How to Comment Out Definition Queries –  blah238 Feb 7 '13 at 0:58
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.