Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error 1585 && update conflict
Message
From
18/11/2003 17:09:14
 
 
To
18/11/2003 16:38:49
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00851184
Message ID:
00851195
Views:
12
What do you mean?, This "error" is great to ensure your data is valid, not only saved!.
The update Conflict is some kind of warning to say your user is trying to modify a value entered by another user.

User A: Get MiTable.Field[1]="A"
User B: Get MiTable.Field[1]="A"
User A: Modify MiTable.Field[1]="B"
User A: Save the Data
User B: Modify MiTable.Field[1]="C"
User B: Try to Save/Update the Data... OOpppsss Update Conflict! Great!

Why this is great??, because the internal engine of VFP is detecting UserB has a "A" as OldValue, when it try to update, it seems your old values is not "A" anymore, now is "C" ¿?!!, Wooowww, somebody else change the data while UserB was editing. Is the way to ensure integrity on the data.


>Can somebody tell me, How is the best way to manage this situation. I want be sure that all the changes made it for all user will be saved. Thanks.
Apoya a Visual FoxPro usandolo legalmente
--
¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º
Espartaco Palma Martínez
SysOp PortalFox
http://www.portalfox.com
esparta@portalfox.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform