How To DAO: Attach to and Create QueryDefs on ODBC Tables (150716)
The information in this article applies to:
- Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0
- Microsoft Data Access Components 2.5
This article was previously published under Q150716 SUMMARY
This article describes how to attach and create Querydefs on external ODBC
tables. The method for opening external ODBC tables is to attach the tables
to an .mdb file.
Jet does not support named QueryDefs on a non-attached ODBC database. A non-
attached ODBC database is one that is opened directly with the OpenDatabase
method of the WorkSpace object without the use of an .mdb file.
If it is not appropriate for the application to attach the ODBC tables, it
is possible to create Querydefs with no name to accomplish the procedure.
For additional information, please see the following article in the
Microsoft Knowledge Base:
149055
: Jet Doesn't Support QueryDefs on a Non-Attached ODBC Table
REFERENCES
"Jet Database Engine Programmer's Guide", page 323, published by Microsoft Press.
Modification Type: | Minor | Last Reviewed: | 3/14/2005 |
---|
Keywords: | kbhowto KB150716 |
---|
|