A
Andi B
Hi everyone!
I'm looking for a little help with a database I'm creating:
Every a spreadsheet containing some orderbook information is imported into
an access database, overwriting the information from the previous week. The
spreadsheet contains duplicate entries for some lines however. After
importing the data, a macro runs a query that displays all lines that are
duplicates, and all but one of each must be manually deleted before the
database can be used correctly. In order to remove the need to do this
manually I was wondering if it would be possible to use a delete query to
remove all but one of each of the duplicate records. I have created a
prototype query, but when run it deletes all the duplicate entries. Any
advice on what I can do to achieve my aim?
Thanks in advance,
Andi
I'm looking for a little help with a database I'm creating:
Every a spreadsheet containing some orderbook information is imported into
an access database, overwriting the information from the previous week. The
spreadsheet contains duplicate entries for some lines however. After
importing the data, a macro runs a query that displays all lines that are
duplicates, and all but one of each must be manually deleted before the
database can be used correctly. In order to remove the need to do this
manually I was wondering if it would be possible to use a delete query to
remove all but one of each of the duplicate records. I have created a
prototype query, but when run it deletes all the duplicate entries. Any
advice on what I can do to achieve my aim?
Thanks in advance,
Andi