Hi,
I am writing an access database that will receive data from an excel spreadsheet when the user hits a button.
THis button may be hit more than once and therefore duplicate records would be entered.
What I want to do is write macro that will run when the database is opened that will remove all entries that are older leaving the earliest upload in the database.
Its either that or i add a new column to the excel spreadsheet that will increase the count by one every time it is uploaded and therefore delete the oldest one of those.
Any help is greatly appreciated,
Regards,
Alan
I am writing an access database that will receive data from an excel spreadsheet when the user hits a button.
THis button may be hit more than once and therefore duplicate records would be entered.
What I want to do is write macro that will run when the database is opened that will remove all entries that are older leaving the earliest upload in the database.
Its either that or i add a new column to the excel spreadsheet that will increase the count by one every time it is uploaded and therefore delete the oldest one of those.
Any help is greatly appreciated,
Regards,
Alan