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!

Looking for non-donors

Status
Not open for further replies.

kpsony

Technical User
Sep 7, 2004
37
US
Ok, I have to search through our DB to find our non-donors, we have a table that records who has donated (donorid), and number & Amount of gifts. I need to find out how to deduct all the people in the gift table, out of the main table.

Any suggestions?
 
Actually, I don't think an 'Unmatched' query will work.

You want to delete all records in the main table that HAVE a match in the donor table, correct??

If so, try:

DELETE DISTINCTROW
tblMain.*, tblMain.DonorID

FROM
tblMain
, tblDonor

WHERE
(((tblMain.DonorID)=[tblMain]![DonorID]));

HTH
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top