Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
? IsFlocked() behavior
Message
From
21/06/2001 11:24:36
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00521938
Message ID:
00521948
Views:
17
You should also note that you may be confusing record locking and file locking. lock() is the same as rlock(), and locks a single record.

Hilmar.

>>Is this the expected behavior for IsFlocked()?
>>
>>I have 2 forms each with private datasessions with the same table open. If I LOCK() the table in form 1 and query IsFlocked() in form 2 it returns .F.. Is this expected?
>>
>>Thanks in advance.
>
>Yes. It works for the current DS only. You can check lock status with low-level functions fopen and fclose.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform