You receive an ODBC driver error message when you set a Left Outer Join between two tables in Visual FoxPro
Article ID: 191695
Article Last Modified on 3/10/2005
APPLIES TO
- Microsoft Visual FoxPro 5.0 Standard Edition
- Microsoft Visual FoxPro 5.0a
- Microsoft Visual FoxPro 6.0 Professional Edition
- Microsoft Data Access Components 2.5
- Microsoft Data Access Components 2.6
- Microsoft Visual FoxPro 7.0 Professional Edition
This article was previously published under Q191695
SYMPTOMS
When creating a remote view to a FoxPro table using the Visual FoxPro ODBC
driver, the following error occurs when you set a Left Outer Join in the
Join tab between two tables:
Connectivity error: [Microsoft][ODBC Visual FoxPro Driver]Command
Contains unrecognized phrase/keyword.
RESOLUTION
Access the FoxPro tables directly, using the SELECT-SQL command. For
example:
CREATE SQL VIEW test CONNECTION myconn;
AS SELECT * FROM orders LEFT OUTER JOIN orditems;
ON orders.order_id = orditems.order_id
STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. This problem is fixed in Visual FoxPro 8.0 and 9.0.
Additional query words: kbVFp500a kbVFp600 kbODBC
Keywords: kbnofix kbdatabase kbprb KB191695