G
Guest
I would like to delete unmatched records from a table. I have created an unmatched records query that identifies the records to be deleted. However, when I try to use the unmatched query as the criteria for deletion I get a message that says "Could not delete from specified tables".
The SQL for the query looks like this:
DELETE tblGuests.*, tblGuests.fldGuest, tblGuests.fldGolfDate
FROM tblGuests, [UnMatchedGuestsPlayers1-4Combined]
WHERE (((tblGuests.fldGuest)=[UnMatchedGuestsPlayers1-4Combined]![fldGuest]) AND ((tblGuests.fldGolfDate)=[UnMatchedGuestsPlayers1-4Combined]![fldGolfDate]));
Any help would be appreciated.
The SQL for the query looks like this:
DELETE tblGuests.*, tblGuests.fldGuest, tblGuests.fldGolfDate
FROM tblGuests, [UnMatchedGuestsPlayers1-4Combined]
WHERE (((tblGuests.fldGuest)=[UnMatchedGuestsPlayers1-4Combined]![fldGuest]) AND ((tblGuests.fldGolfDate)=[UnMatchedGuestsPlayers1-4Combined]![fldGolfDate]));
Any help would be appreciated.