I am new in VBA, I have a problem about querying an attribute table….:
I have a table of a layer (wish.shp) with the fields: owner_ID, Value, Area.
I made 3 textboxes in a userform, I input the owner_ID, in one textbox, I want to get the corresponding value and area and display in other textboxes.
Best Answer
You can use a FeatureCursor to grab the field value. The code below is looking at a selected record. Then, just assign your strValue to your text box.