I`m trying to write a query in access using the query builder but I am getting an ODBC error message when I try to run it. The SQL behind the query is:
SELECT AUDIT_HEADER.ACCOUNT_REF, AUDIT_HEADER.DETAILS
FROM AUDIT_HEADER
WHERE (((AUDIT_HEADER.DETAILS) Not Like "*deleted*"));
I can run all other types of queries to the same DB and they work fine, the problem is when I try to run a 'Not Like' filter. Am I writing the query correctly?
SELECT AUDIT_HEADER.ACCOUNT_REF, AUDIT_HEADER.DETAILS
FROM AUDIT_HEADER
WHERE (((AUDIT_HEADER.DETAILS) Not Like "*deleted*"));
I can run all other types of queries to the same DB and they work fine, the problem is when I try to run a 'Not Like' filter. Am I writing the query correctly?