Microsoft KB Archive/142168

= PRB: Connectivity Error: Illegal reference in query =

Article ID: 142168

Article Last Modified on 9/30/2003

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition
 * Microsoft Visual FoxPro 3.0b Standard Edition

-



This article was previously published under Q142168



SYMPTOMS
When you update data in a remote view, the following error may occur:

Connectivity Error [<>] Illegal reference in query



CAUSE
In the Update Criteria tab of the view designer, the "SQL WHERE clause includes" option is set to "Key and Modified Fields," and one of the modified fields is a memo field. A memo field cannot be used in a SQL WHERE clause.



RESOLUTION
Change the "SQL WHERE clause includes" option in the Update Criteria tab of the view designer to "Key Fields Only" or "Key and Timestamp."



STATUS
This behavior is by design.



Steps to Reproduce Behavior
 Create a remote view based on a table that contains a memo field. In the Fields tab, click the Add All button. In the Update Criteria tab, specify a key field, click the Update All button, select the Send SQL Updates check box, and set the SQL WHERE clause includes option to "Key and Modified Fields." Save the view as View_Test.  Type the following commands in the Command window: USE View_Test BROWSE </li> Make some changes to the memo field data.</li>  Type the following command in the Command window: USE </li></ol>

The Illegal reference in query error occurs at this point.

Additional query words: VFoxWin

Keywords: KB142168

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.