PRB: Modifying a Remote View Results in a Syntax Error

ID: Q138501

3.00 WINDOWS kbinterop kbprb

The information in this article applies to:

  • Microsoft Visual FoxPro for Windows, version 3.0

SYMPTOMS

After you create a remote view to gain access to a remote data source through ODBC, any attempt to modify the remote view results in a Syntax Error.

CAUSE

One or more of the field names in the tables included in the remote view contains a space or other special character, such as one of the following:

   ~ !

RESOLUTION

Do not add tables that have spaces in field names to a remote view. Use the underscore (_) character in place of a space. Alternatively, use the CREATE SQL VIEW command to modify the remote view. Follow the same naming conventions used for table and field names.

STATUS

This behavior is by design.

MORE INFORMATION

Visual FoxPro does not support tables that have field names that contain spaces whether they are local or remote tables. The only reason Visual FoxPro sometimes works with spaces in field names is because of the SQL parsing mechanism used.

This behavior depends on the ODBC driver being used to gain access to the remote data. If you experience these errors when attempting to modify a remote view, ensure that none of the field names in the remote view contains a space.

Additional reference words: 3.00 VFoxWin KBCategory: kbinterop kbprb KBSubcategory: FxinteropOdbc

Keywords          : FxinteropOdbc 
Version           : 3.00
Platform          : WINDOWS


Last Reviewed: December 15, 1995
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.