not like in where clause

mikeo1313

Registered User.
Local time
Today, 16:09
Joined
May 27, 2010
Messages
50
I've used like clauses before without a problem in other sql statements,,, wondering why these prompt me to enter a parameter for filterm.prod details


DoCmd.RunSQL " delete from filterM where filterm.[product details] not like '*scrap*' "

DoCmd.RunSQL " delete from filterM where [filterm].[product details] not like ""*scrap*"" "
 
also tried it like this

DoCmd.RunSQL " delete from filterM where [product details] not like '*scrap*' "
 
the statements work, issue was the table was missing the column
 

Users who are viewing this thread

Back
Top Bottom