Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to detect multi-user code
Message
From
10/05/2000 08:43:11
 
 
To
10/05/2000 08:36:40
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00368034
Message ID:
00368036
Views:
19
>I have a program that allow multi-user using. When i retreive record Doc. No.= A123. Other hand the other use also retreive the same document no. Now It look fine. But When I want to delete, It allow me to delete, the other user move the record error message "Update conflict", How to detect it
>My Code :- Select Trn
> If rlock()
> Error message
> else
> delete
> skip
> endif
>
>Thanks for the Help, Coding will be appreciated.

Hi Carmen,
Try
if .not. rlock()
error message
else
delete
skip
endif
Previous
Reply
Map
View

Click here to load this message in the networking platform