Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

delete query not working

Status
Not open for further replies.

lyndah

MIS
Joined
Dec 3, 2009
Messages
6
Location
GB
I have a customer database (table A) that I want to delete a large number of records from. The details of the records I want to delete are in another table (table B). I've created a select query to select the records from table A that are also in table B. The select works fine - but I can't get a delete query based on that to run. Any help appreciated
 



Hi,

Try running the Delete on table B first and then table A.

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Assuming these are parent/child, if you had referential integrity on with cascade deletes, you would only need to delete from the parent table.

Duane
Hook'D on Access
MS Access MVP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top