XL98: Problems Adding dBASE Database in Microsoft QueryLast reviewed: February 2, 1998Article ID: Q179108 |
The information in this article applies to:
SYMPTOMSWhen you try to query a database in Microsoft Query using the dBASE ODBC driver, one of the following problems occur:
Errors Adding a TableOne of the following error messages appear
The table name <database> was larger than SQL_MAX_TABLE_NAME_LEN from SQLGetInfo(8).where <database> is the name of the file you are attempting to open in Microsoft Query. -or-
Field not found: <fieldname>where <fieldname> is a field in your database. When you click OK, you are unable to add tables to your query.
Unable To See Database FileIn Microsoft Query, when you attempt to add a table your dBASE database file is not listed.
CAUSE
Errors Adding a TableThe SQL_MAX_TABLE_NAME_LEN error message occurs when you do the following:
Unable To See Database FileYour database file will not appear in the Add Tables dialog box when you try to add a dBASE database that was created or saved in Excel. NOTE: this problem does not occur when you use the Query Wizard. A file saved with a .DBF file extension will be visible in the Query Wizard.
WORKAROUNDUse the workaround appropriate to the specific problem you experience:
SQL_MAX_TABLE_NAME_LEN Error Adding a TableIf you receive this error adding a table to Microsoft Query, do not use the Query Wizard when opening a database in Microsoft Query. This error does not appear if you do not use the Query Wizard.
-or-Create a User DSN and set the option to enable long file name support. The Use Long Names option can be set in the Advanced tab when you click Configure in the ODBC Data Source Administrator for your User DSN.
Field Not Found: <fieldname> Error Adding a TableIf you receive this error in the Query Wizard while adding columns, remove the space character from the name of your database file. As an alternative to a space use an underscore character (_).
-or-Do not use the Query Wizard when opening a database in Microsoft Query. This error does not appear if you do not use the Query Wizard.
-or-Create a User DSN and set the option to enable long file names. The Use Long Names option can be set in the Advanced tab when you click Configure in the ODBC Data Source Administrator for your User DSN.
Unable to See Database FileIf your database does not appear in the Add Tables dialog box, do the following to correct this problem: If you have not created a User DSN, do so. In the ODBC Data Source Administrator, click your User DSN and click Configure. On the Mac File Types tab, make the following changes:
STATUSMicrosoft has confirmed this to be a problem in the products listed above. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
|
Additional query words: XL98 msquery
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |