2

I'm searching for a way to freeze/delete definition queries of several layers at once (instead of doing it manually by opening the properties of each layer). I'm working in ArcMap 9.3.1 on an ArcSDE 9.3.1 Geodatabase.

PolyGeo
65.5k29 gold badges115 silver badges350 bronze badges
asked Jan 19, 2012 at 10:28

1 Answer 1

3

I assume you mean definition queries of layers in an ArcMap document. In that case, the source database isn't an issue, it's a just a property of the layer object in the map. There's no way (I know of) in the GUI of ArcMap to do it. You could program a tool that could loop through all the layer objects and clear that property. (Not sure what you mean by freeze.) Which means understanding the ArcObjects references involved. And if you want it to work when you go to 10, VBA is out.

answered Jan 19, 2012 at 18:01

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.