kg6lfz
asked on
how to delete records from tblA that do not belong to tblB
I have 2 tables, tblBuyer and tblItem. Both have a field "Buyer". I want to delete records from tblItem if tblItem.Buyer does not exist in tblBuyer.Buyer.
Delete from tblItem - After that I am not sure how to limit records to be deleted.
Thank you very much in advance. / hb
Delete from tblItem - After that I am not sure how to limit records to be deleted.
Thank you very much in advance. / hb
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It worked wonderful. Thank you.
You have to make a table to do this, because if you just use the Find Unmatched query in the Delete query, you will get a message that it is not updatable.