delete where field is empty

PortalMelt

New member
Local time
Today, 11:11
Joined
Oct 8, 2002
Messages
7
Trying to use a SQL statement (within a macro) to delete a row if a field is empty.

This isn't working.
DELETE FROM PM0900Aa WHERE (((PM0900Aa.[TEAM])=""));

No errors, just doesn't do the job.

Seems to be deleting data from just that field not deleting the whole row (found this when I tried matching some other data).

Where am I going wrong?

Jeff
 
DELETE * FROM PM0900Aa WHERE PM0900Aa.[TEAM] Is Null;
 

Users who are viewing this thread

Back
Top Bottom