Recordsetclown
Technical User
I have a form whose recordsource is a table indexed on a numeric field where duplicates are possible. All records matching a given number are therefore grouped together in the table.
My form has code that loops through a clone of the form recordset to find matching numbers and then writes the matches to another table. To speed up the search, the code stops looking when the last matching record is passed; however, if a new record is added before a search is done on the same number, the new record is the last in the table and therefore not included. Is there a way to force Access to insert the new record into its proper position in the table immediately after a new record is created?
Thanks,
Jeff
My form has code that loops through a clone of the form recordset to find matching numbers and then writes the matches to another table. To speed up the search, the code stops looking when the last matching record is passed; however, if a new record is added before a search is done on the same number, the new record is the last in the table and therefore not included. Is there a way to force Access to insert the new record into its proper position in the table immediately after a new record is created?
Thanks,
Jeff