I'm importing data into a table, that cannot be a duplicate record and am using a primary key that is made up of 2 fields of the data. The data from the imported table must be divided up between two tables depending on the status type. I created a stand alone table that has all of the primary keys of the two tables. (both tables are identical - one is an archive and one is the live data-main)
How would I set the append query to look at the primary key table to ensure there are no duplicates appended, before finalizing the append to the proper tables?
The way it is set up now is that I import all the data into the main table and run some queries to update some fields based on different criteria. I then choose those that are considered "matched" and put them into an archive (linked) table. Since the append cannot see what is in the archived table when appending, there is a chance that duplication may occur.
Any ideas?
Thanks,
Carie
How would I set the append query to look at the primary key table to ensure there are no duplicates appended, before finalizing the append to the proper tables?
The way it is set up now is that I import all the data into the main table and run some queries to update some fields based on different criteria. I then choose those that are considered "matched" and put them into an archive (linked) table. Since the append cannot see what is in the archived table when appending, there is a chance that duplication may occur.
Any ideas?
Thanks,
Carie