XL: "Syntax Error in FROM Clause" When Getting External DataLast reviewed: January 7, 1998Article ID: Q171899 |
The information in this article applies to:
SYMPTOMSWhen you use Microsoft Query to return external data to a worksheet in Microsoft Excel or when you view returned data in Microsoft Query, you may receive the following error message:
Syntax error in FROM clause. CAUSEThis problem occurs if the following conditions are true:
WORKAROUNDTo work around this problem, change the path to the database so that it does not contain any periods, for example:
C:\MyTest\Northwind.mdb C:\My Test\Northwind.mdbNOTE: You may use a period before the file name extension (.mdb in this case). Or, rename the table range in the workbook to a name other than "Database".
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONWhen the file name path contains a period, the path is qualified incorrectly by Microsoft Query. As a result, the Structured Query Language (SQL) statement for the data you are retrieving is incorrect, and you receive the error message in the "Symptoms" section.
|
Additional query words: XL97 XL7 7.0 msquery get external data create new
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |