Error during query statement run or execute:
[Microsoft][ODBC Microsoft Access Driver] Invalid SQL statement; expected 'DELETE', 'INSERT', 'PROCEDURE', 'SELECT', or 'UPDATE'.
Possible valid error on the statement or code. Re-examine the statement and correct any errors. Also try running the code using another database tool/software. If the other tool also gets the same error, then it’s a valid error, and the DBA / Author that created that statement should re-examine the statement.
It is also possible that changes (planned or unplanned) occurred in the database, which invalidated the statement. Please consult with your DBA / Author and ask for assistance to correct the error.
Also ensure you are connecting to the appropriate database server the query statement is designed to work on.