Specify the table containing the records you want to delete in access 2007

dublinchang

New member
Local time
Today, 09:29
Joined
Mar 17, 2009
Messages
1
The following delete query SQL statement working just fine on Access 2003 but after convert to Access 2007, received following message

"Specify the table containing the records you want to delete"

DELETE [Promo].*
FROM [Outlet] INNER JOIN [Promo] ON [Outlet].Out = [Promo].Out;

Please help.

Dublin
 
Hi,

Here is how I would do it:

DELETE * FROM Promo
WHERE Promo.Out IN (SELECT Outlet.Out FROM Outlet)

Simon B.
 

Users who are viewing this thread

Back
Top Bottom