Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RLOCK
Message
 
To
02/11/2001 09:26:10
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Re: RLOCK
Miscellaneous
Thread ID:
00576665
Message ID:
00576745
Views:
19
Chuck,

You could create a semaphore table and a custom method on your base maintenance form class to check the semaphore table using the table name and table primary key before attempting an RLOCK(). If the record is on the semaphore table, display a message to the user indicating the record is in use by John Doe. If no matching record is found, lock the semaphore table, issue the RLOCK(), check for good RLOCK(), update semaphore table, Unlock semaphore table.

HTH

Robert
Previous
Reply
Map
View

Click here to load this message in the networking platform