Microsoft KB Archive/107835: Difference between revisions
(importing KB archive) |
m (Text replacement - ">" to ">") |
||
(2 intermediate revisions by the same user not shown) | |||
Line 12: | Line 12: | ||
<div id="TitleRow"> | <div id="TitleRow"> | ||
= <span id="KB107835"></span>Microsoft Query Error Message | = <span id="KB107835"></span>Microsoft Query Error Message "Cannot Access Table" = | ||
Line 49: | Line 49: | ||
<div class="errormessage"> | <div class="errormessage"> | ||
Cannot Access Table | Cannot Access Table <path\file name> | ||
</div> | </div> | ||
where | where <path\file name> is the full path and file name of the table you want to open. | ||
</div> | </div> | ||
Line 61: | Line 61: | ||
This error message occurs when file names are filtered by the common dialog dynamic link library (COMMDLG.DLL).<br /> | This error message occurs when file names are filtered by the common dialog dynamic link library (COMMDLG.DLL).<br /> | ||
<br /> | <br /> | ||
In Microsoft Query, when a file name ends with an extension other than .DBF, Microsoft Query executes the ODBC SQLColumns function on that file. If you manually change the filter in the Add Tables dialog box to All Files (*.*) and then attempt to open a file, Microsoft Query will use the SQLColumns function to send that file name. Sending the file name this way results in the NO_DATA_FOUND error. This ODBC error results in the error message | In Microsoft Query, when a file name ends with an extension other than .DBF, Microsoft Query executes the ODBC SQLColumns function on that file. If you manually change the filter in the Add Tables dialog box to All Files (*.*) and then attempt to open a file, Microsoft Query will use the SQLColumns function to send that file name. Sending the file name this way results in the NO_DATA_FOUND error. This ODBC error results in the error message "Cannot Access Table".<br /> | ||
<br /> | <br /> | ||
To avoid this error, make certain all .DBF tables end with a .DBF extension. | To avoid this error, make certain all .DBF tables end with a .DBF extension. |
Latest revision as of 17:46, 20 July 2020
Article ID: 107835
Article Last Modified on 8/15/2005
APPLIES TO
- Microsoft Excel 95 Standard Edition
- Microsoft Excel 5.0 Standard Edition
- Microsoft Query 2000
This article was previously published under Q107835
SUMMARY
If you attempt to access a dBASE table from Microsoft Query when the file name extension of the dBASE file has been changed to something other than .DBF, you will receive the following error message
where <path\file name> is the full path and file name of the table you want to open.
MORE INFORMATION
This error message occurs when file names are filtered by the common dialog dynamic link library (COMMDLG.DLL).
In Microsoft Query, when a file name ends with an extension other than .DBF, Microsoft Query executes the ODBC SQLColumns function on that file. If you manually change the filter in the Add Tables dialog box to All Files (*.*) and then attempt to open a file, Microsoft Query will use the SQLColumns function to send that file name. Sending the file name this way results in the NO_DATA_FOUND error. This ODBC error results in the error message "Cannot Access Table".
To avoid this error, make certain all .DBF tables end with a .DBF extension.
Additional query words: 5.00 7.00 excel MSQuery
Keywords: KB107835