PRB: <None> as the Remote View Join Type Causes Error

Last reviewed: October 29, 1996
Article ID: Q157526
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, version 5.0

SYMPTOMS

Selecting "<None>" as the Join type for a Remote View produces an error message when the view is run.

CAUSE

The syntax of the SQL query built by the Remote View Designer is not correct when the "<None>" Join type is selected.

STATUS

Microsoft 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 INFORMATION

Steps to Reproduce Behavior

  1. Using the 32-Bit ODBC Driver Manager, create a DataSource for a database on a Remote Server like the "pubs" database on Microsoft SQL Server.

  2. Open a database and create a remote view using the DataSource specified above.

  3. Add a table to the Remote View. For example OrdItems in the Microsoft SQL Server pubs database.

  4. Add another related table to the view -for example, Sales. When the Join Condition dialog box comes up, click Cancel.

  5. Click the Join tab of the Remote View Designer. Click the Type drop- down list box and Select "<None>."

  6. Enter the names of the table fields on which the Join should be based. For example, set "Field Name" to "Authors.au_id" and "Value" to "Titleauthor_au_id."

  7. Right-click the Remote View Designer and click the "Run Query" option.

  8. When the "Without join conditions for each table" dialog box appears, click "Yes."

The following error message appears:

   Connectivity error:.....Incorrect syntax near the keyword 'ON'.


KBCategory: kbtool kbprb
KBSubcategory: FxtoolQueryvwdes
Additional reference words: 5.00 kbdse VFoxWin



THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 29, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.