Delete Records in One Table from Another

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a table listing all of the records that I want to delete from another
table - how do I go about setting that up?
 
Please forgive me for not understanding - when I select that it is going to
be a delete query I have the following info to fill in:

Field:
Table:
Delete:
Criteria:

My 2 tables are called - IMC-Intern Logs and Deleted Accounts - I want all
the records in the Deleted Accounts removed from the IMC Intern Logs.
 
Add both tables to your query grid
Join them on the field(s) that are the key fields (the matching fields)

Field: Your ID Field
Table: IMC Intern Logs
Delete: Where
Criteria: <blank>

Click the Run button or select Query: Run from the menu

BACK UP your database BEFORE you do this. Just in case it doesn't work as
expected.
 
Fantastic - thank you for your help.

John Spencer said:
Add both tables to your query grid
Join them on the field(s) that are the key fields (the matching fields)

Field: Your ID Field
Table: IMC Intern Logs
Delete: Where
Criteria: <blank>

Click the Run button or select Query: Run from the menu

BACK UP your database BEFORE you do this. Just in case it doesn't work as
expected.
 
Back
Top