Hey all,
I'm trying to figure out how to find a comma in a field or the characters " TR ", " LIV ", or " REV " (notice the spaces between tr, liv, and rev). Right now I try this and get "syntax error missing operator in query expression".
SELECT *
FROM contacts
WHERE
(
contacts.names_1 Like "*" & , & "*"
Or
contacts.names_1 Like "*" & TR & "*"
Or
contacts.names_1 Like "*" & LIV & "*"
Or
contacts.names_1 Like "*" & REV & "*"
)
OR
(
contacts.names_1 Like "*" & , & "*"
Or
contacts.names_1 Like "*" & TR & "*"
Or
contacts.names_1 Like "*" & LIV & "*"
Or
contacts.names_1 Like "*" & REV & "*"
)
)
;