PRB: Query Designer Creates Wrong SQL Statement on MDB Files
Article ID: 195245
Article Last Modified on 12/3/2003
APPLIES TO
- Microsoft Visual Basic 6.0 Professional Edition
- Microsoft Visual Basic 6.0 Enterprise Edition
- Microsoft Visual C++ 6.0 Service Pack 5
- Microsoft Visual InterDev 6.0 Standard Edition
- Microsoft Visual Studio 6.0 Professional Edition
- Microsoft Visual Studio 6.0 Enterprise Edition
This article was previously published under Q195245
SYMPTOMS
A database project uses an .mdb file for a database. When you use the Query
Designer to create an SQL statement, the SQL pane displays an SQL sentence
with the ODBC OJ syntax.
CAUSE
The Query Designers assumes that the transport mechanism to the backend
database is ODBC and creates an ODBC-compliant syntax.
RESOLUTION
To workaround this problem, remove the ODBC syntax from the SQL statement.
STATUS
This behavior is by design.
Keywords: kbdataenv kbdatabase kbprb kbpending KB195245