Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RLOCK() and ISRLOCK()
Message
From
25/06/1999 18:53:11
 
 
To
25/06/1999 17:58:17
Todd Cottengim
Alpine Land Information Services
Redding, California, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00234236
Message ID:
00234256
Views:
24
>We have just purchased VFP6 and are starting to experiment with mulit-user appliactions. We (my programming partner and I) each used a table located on my computer. Mulitlocks in ON, Exlusive is OFF, and Reprocess is set to 1. If I lock a record (manually with RLOCK()) and then issue ?ISRLOCK() from the command window, it returns a true. If my partner issues ?ISRLOCK() from his machine on the same record, the return value is false. On the surface, ISRLOCK() seemed to be a great way to tesst for a lock without actually locking, but only seems to work on the machine the ISRLOCK() is issued from. Any thoughts or comments?
>

wish I could tell you something that you haven't found out for yourself, but you found it all: ISRLOCK() only works for the same machine it is issued from.
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform