I have two tables that are identical. One table is for current orders, and the other is for historical purposes.
My dilema is this: I have about 1,000 records in my current orders table that also exist in my history table. I want to delete all of the "matching" records from the current table seeing how they are already in the history table.
I've created a "delete query", where I select every field from the table I want to delete, and I've linked the two table together so that I only deleted those records from the current table that match the same SO# from the history table.
Every time I try to run the query, it gives me a message stating: "Specify the table containing the records you want to delete." Why am I getting this error message? Should I not link the tables together? Do I need to add criteria for each field in the table?
Essentially I want to delete all of the duplicate values from the current table. Can anyone help??
Thanks!
My dilema is this: I have about 1,000 records in my current orders table that also exist in my history table. I want to delete all of the "matching" records from the current table seeing how they are already in the history table.
I've created a "delete query", where I select every field from the table I want to delete, and I've linked the two table together so that I only deleted those records from the current table that match the same SO# from the history table.
Every time I try to run the query, it gives me a message stating: "Specify the table containing the records you want to delete." Why am I getting this error message? Should I not link the tables together? Do I need to add criteria for each field in the table?
Essentially I want to delete all of the duplicate values from the current table. Can anyone help??
Thanks!