Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MultiUser Issue
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00540233
Message ID:
00540240
Views:
15
This message has been marked as a message which has helped to the initial question of the thread.
Your logic needs to be:-

If the button is clicked and it reads 'Edit' then
- if I can get a lock on the record then
-- perform the button change
- else
-- tell the user the record is locked
- endif
else
-- It must be a save button, so save the record...
-- ...and perform the button change.
endif

>I have form whose buffer mode is pessimistic and the cursor in the data environment is pessimistic row buffering
>(I would use OR buffering if I could get it to work).
>The form has a that has a button that I am using for an edit/save.
>As long as I am dealing with one user the code works fine, but
>I have been tring for days to figure out how I can handle the issues with multiusers clicking the edit/save button.
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform