Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RLOCK
Message
 
À
02/11/2001 09:26:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Re: RLOCK
Divers
Thread ID:
00576665
Message ID:
00576745
Vues:
16
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform