Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How does VFP Lock a record?
Message
From
18/07/2000 10:29:22
Jon Nelson
Trader Systems Limited
Reading, United Kingdom
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00393703
Message ID:
00393794
Views:
25
Bruce,

Thanks - I've already implemented a tracking table method with a wrapper to RLOCK and UNLOCK - but I am still interested in finding out how the OS handles lock as it would potentially enable implicit and explicit locks to be monitored

Cheers


Jon Nelson



>>Does anyone know what VFP is doing at the OS level when an RLOCK is issued?
>>
>>I've been trying to find an answer to the question "Who has locked this record" in a multi-user NT based system so that I can monitor the locks.
>
>That may be a tough one to do in that way, you're looking more at SQL Server type of DB for that. However, I have done this sort of thing in vfp in a home-made way - when a user locks a record, you can write username and PK (and table if necessary) to a tracking-table on server, not difficult to do.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform