Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Record locking in Multiuser Environ
Message
 
 
To
11/08/2003 10:38:26
Samir Chheda
Remittag Software Pvt. Ltd.
Mumbai, India
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00818895
Message ID:
00818933
Views:
15
Samir,
ISRLOCKED() only checks if you have a record locked. To check if another use has it locked, you have to try and lock the record yourself using the RLOCK() function. You can check the return value; if .T., no one else had it locked and you got a lock.

HTH.

>Hi,
>
>How can I find the lock status of the record in a multi user environment.
>
>I mean, when a user is editing a record at the same time, another user should not be able to edit the same record and a message should be displayed on his workstation that the record is locked for editing by another user.
>
>I tried using ISRLOCKED() function, but it is not solving the purpose. The BufferMode property of the form is set to 1-Pessimistic and Datasession is set to 0-Default.
>
>I am using VFP 7 for making the exe.
>
>Any ideas on this will be very helpful.
>
>TIA.
>
>Regards,
>Samir.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform