I have created a statement using Not Like, but I am not getting the results that I need. Here's the code:
I want to get results that do not have "OK" in them. But instead, I'm getting all of the results. What should I change?!?
Thanks in advance!!
Rgds,
Kmkland
Code:
SELECT [tbl7-10Procedure].Date1Status, [tbl7-10Procedure].Date2Status, [tbl7-10Procedure].Date3Status, [tbl7-10Procedure].Date4Status
FROM [tbl7-10Procedure]
WHERE ((([Date1] & ' ' & [Date1Status]) Not Like "OK*")) OR ((([Date2] & ' ' & [Date2Status]) Not Like "OK*")) OR ((([Date3] & ' ' & [Date3Status]) Not Like "OK*")) OR ((([Date4] & ' ' & [Date4Status]) Not Like "OK*"))
GROUP BY [tbl7-10Procedure].Date1Status, [tbl7-10Procedure].Date2Status, [tbl7-10Procedure].Date3Status, [tbl7-10Procedure].Date4Status;
Thanks in advance!!
Rgds,
Kmkland