PRB: "Syntax Error in FROM clause" Opening a Jet Table (181489)
The information in this article applies to:
- ActiveX Data Objects (ADO) 1.0
- ActiveX Data Objects (ADO) 1.5
- ActiveX Data Objects (ADO) 2.0
- ActiveX Data Objects (ADO) 2.1 SP2
- ActiveX Data Objects (ADO) 2.5
This article was previously published under Q181489 SYMPTOMS
When opening a Microsoft Jet table using ActiveX Data Objects (ADO), the
program displays the following error:
Run-time error '-2147217900 (80040e14)':
[Microsoft][ODBC Microsoft Access Driver] Syntax error in FROM
clause.
CAUSE
The table name is a SQL reserved word, such as "Order."
RESOLUTION
Change the table name to a non-reserved word, such as "Orders" or place
square brackets around the name as follows:
STATUS
Microsoft is researching this problem and will post new information here in
the Microsoft Knowledge Base as it becomes available.
Modification Type: | Minor | Last Reviewed: | 3/14/2005 |
---|
Keywords: | kbDatabase kbJET kbMDACNoSweep kbprb KB181489 kbAudDeveloper |
---|
|