How do I get code to run through recordsets as they are shown?
Posted on 2014-10-06
Firstly, I run an append query to a table. The data is needing to be in order by Record Locator. The Record Locator Number is a specific column used to to group invoices together.
After the append query is completed and I open the table, the data is shown in the order I want to see it.
I then run the code to loop through all recordsets on that specific table. However, instead of looping through the recordsets as they are shown the code loops through the recordsets by the order of another column in the table.
I need the loop to recognize the order according to the Record Locator and not the other column.
Help would greatly be appreciated.