Hello,
In a combobox i store all the names of layers that are in the TOC:
water
buildings
buildings
...
As you can see there are 2 layers with the same name, but different definition queries: buildings.
When user selects a layer in the combobox i perform an action on that layer. My routine 'selectLayerByName' fails when user selects the second building layer.
What code do i need to find the correct layer?
[Edit] Or what extra information do i need to store in de combobox to find the correct layer?
Gr. Henk