I´ve a project in VBA but I hit a wall that I can't pass.
What I want to do:
I´ve a table (of parcels) with the fields: ID, Name, Area, Scale. For each Parcel there is a different scale!
I input, in a text box, the name of a parcel. I want to "get" the corresponding scale.
Does anybody know how I can do that?
Best Answer
Here is a code example of a QueryFilter. You could assign a variable to hold your text box value for this line "APP_TYP = 'PA'" and update this line indexClass = pUpdateFeatures.FindField("Dir") to point to your scale field. The result will give you a message box of the scale value.