I am trying to create a VBA code that will run through each distinct record for a Table1.FieldName Value. I have a Field called “Collector” and for an example lets say the the result of a query:
Select Distinct Collector From Table1
is the following
Smith Road
Fifth Ave
Samford
I would like to be able to use a for each and each run through have a variable that is assigned each of the resulting records in turn.
If I have left any needed information out or if I have not been clear on anything please let me know and I will try to give more information.
Thanks in advance.
1 Answer