|
Question : sql query "Not Like" statement does not work in Access
|
|
Im using the following sql queries with an accessdatasource. The following query ignores the "NOT LIKE" language for some reason. Is there something I'm doing wrong?
... And (Product NOT LIKE '%PPO Share%' Or Product NOT LIKE '%W/Mat%' Or Product NOT LIKE '%HMO%')"
I have another query with a "LIKE" and it works fine.. ... And (Product Like '%PPO Share%' Or Product LIKE '%W/Mat%' Or Product LIKE '%HMO%')"
|
|
Answer : sql query "Not Like" statement does not work in Access
|
|
Maybe it s/b: (Use AND)
... And (Product NOT LIKE '%PPO Share%' AND Product NOT LIKE '%W/Mat%' AND Product NOT LIKE '%HMO%')"
|
|
|