PRB: Changes to SQL Remote View Aren't Saved (130239)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
This article was previously published under Q130239 SYMPTOMS
After updating data contained in a remote view, the updates may not appear
in the source table.
CAUSE
This is by design. Updates will not be sent to the source unless you
specify that records should be updated.
RESOLUTION
If you are creating the view through the View Designer, click the Update
Criteria Tab, and make sure you have selected the SEND SQL UPDATES check
box.
If you are creating the view in a program, use the DBSETPROP() function to
set the SendUpdates and the UpdateType options. The following code example
allows data changed in the view named vCustomer to be updated. Because the
UpdateType is being reset to "2," updates occur by first deleting the
existing record, and then adding a new record:
=DBSETPROP("vCustomer", "View", "SendUpdates", .T.)
=DBSETPROP("vCustomer", "View", "UpdateType", 2)
STATUS
This behavior is by design.
REFERENCES
For more information, please see the Visual FoxPro "Language Reference" or
Help file for information on DBSETPROP() and the View Designer Update
Criteria Tab.
Modification Type: | Major | Last Reviewed: | 2/10/2000 |
---|
Keywords: | KB130239 |
---|
|