Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Record locked
Message
From
21/08/2001 14:34:09
 
 
To
21/08/2001 14:07:01
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00546829
Message ID:
00546909
Views:
25
>Thanks a lot Cetin and Steve.
>
>Cetin's approach is what what I was looking for. Rlock function tries to lock and I only want to test for if it is locked ot not.
>
>Regards
>
>
>
>>>What function is used to test if a record is locked?
>>>
>>>Thanks in advance.
>>>
>>>Oscar Corte
>>
>>IsRLocked() and sys(2011).
>>Cetin

BTW, you also need to look at the SET REPROCESS command. Since you are only trying to test the lock status, you can use SET REPROCESS TO 1 so you don't have to wait 'forever' :)

Of course, if you are only trying to find out if you have the record on the local workstation (in the current datasession), Cetin's solution is correct, and SET REPROCESS is irrelevent...
Steve Gibson
Previous
Reply
Map
View

Click here to load this message in the networking platform