Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Update conflict when two users on same record
Message
 
To
28/08/1998 11:16:30
John Marushin
Blue Cross of North Eastern Pennsylvania
Wilkes-Barre, Pennsylvania, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00131013
Message ID:
00131019
Views:
53
>Before I ask my question I would just like to state I am very much a novice with VFP and am working on my first project. So, please bare with me.
>
>I've developed a multiuser application using Buffering. On rare occasions, two users will access the same record at the same time. When this happens, the user saving changes first will apply the changes to the table. Then, if the second user on the record tries to save changes, they receive an Update confilct error and any changes they tried to save are not saved.
>
>Does anyone know a good way to handle this type of problem. I was trying to determine a way I could alert the 'second' user accessing the record that the record is in use by another, but I am unsure how to do this.
>
>Thanks for any help.

It certainly involves a fair amount of code, but if you use the commercial framework to develop multi-user apps it usually handled automatically in the base form classes.

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform