Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is it locked?
Message
 
To
22/05/2003 13:16:43
John Tomblin
Service Station Systems, Inc.
San Jose, California, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00791737
Message ID:
00791760
Views:
19
>Does anyone know a way to ask the question: "Is there currently a lock on the current record in a table?" I know the rlock() function will tell me this but I want to ask the qusetion before I attempt the rlock().


No there is no way and there shouldn't be. The only way to know if you can lock a record is to lock it. If you did have a way to check you could check and be told it is not locked and then when you tried to lock it the lock could fail because someone else locked it between your checking and your locking it.
Previous
Reply
Map
View

Click here to load this message in the networking platform