Hello everybody,
I'm once again in need of your help.
I have a database, which is updated regularly from excel-import. Excel-importing adds new record to my table. I'm looking for a way to make the aftermath smoother by trying to create a macro, which would remove duplicate data the updating creates.
At the moment I'm using Access's built in find duplicates query with two fields, item name and ID. Of these two, Item name is the one that is duplicate. ID just tells me which ones to delete, as I always have to delete records which have smaller ID.
My question therefore is, how to create macro that would automatically delete those records from this duplicates query that have smaller ID number?
Thanks!
I'm once again in need of your help.
I have a database, which is updated regularly from excel-import. Excel-importing adds new record to my table. I'm looking for a way to make the aftermath smoother by trying to create a macro, which would remove duplicate data the updating creates.
At the moment I'm using Access's built in find duplicates query with two fields, item name and ID. Of these two, Item name is the one that is duplicate. ID just tells me which ones to delete, as I always have to delete records which have smaller ID.
My question therefore is, how to create macro that would automatically delete those records from this duplicates query that have smaller ID number?
Thanks!