Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Update Conflict - wrong ID #!
Message
From
03/06/2001 12:56:20
Paul Williamson
Williamson Enterprises, Inc.
Livingston, Montana, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Update Conflict - wrong ID #!
Miscellaneous
Thread ID:
00514333
Message ID:
00514333
Views:
39
Hi,

I am using VFP6.0 and SQL Server 7.0.

I get an Update Conflict error when attempting to update a remote view, when a user changes a record, with a TableUpdate(). Actually, when I go into debug at a point before the Begin Transaction starts, and the TableUpdate() and try to browse the view, I also get the error.

I have researched the view and found that the ID Number field that VFP is trying to update is an ID number from a different view on a different table!! That ID number does NOT exist in the view I am trying to update, yet I get that error (which is a good thing I think because it is the wrong ID number).

The remote view I am trying to update only has the ID number as the primary key, and it, nor the timestamp field, is selected as updatable. Send SQL updates is selected and if I uncheck that, I of course don't get the error.

Any ideas? Let me know if any one needs more specifics, or code posted.

Thanks,

-paul
Next
Reply
Map
View

Click here to load this message in the networking platform