A SQL database tool failed with a syntax error after connection via ODBC. In an ODBC program, the following call fails with "syntax error":
SQLTables(hStmt "%, SQL_NTS, "", SQL_NTS, "", SQL_NTS, "", SQL_NTS)
The logic has been modified to correct the syntax error.