Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Who has the record locked?
Message
De
09/12/1997 16:58:43
 
 
À
09/12/1997 16:46:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00064802
Message ID:
00064804
Vues:
38
>I posted this question a week or two ago and got no answer (well... none that I liked anyway :-))
>
>Is there a way I can tell which record(s) in a table are locked without scanning the table and checking for locks on each individual record?
>Even better, is there some way to tell who (or what process) has it locked?

I think if you want to check locks, you should really scan and check. You can built some mechanism to check who is 'lock holder', e.g. additional field which will be filled programmatically with oApp.userid anytime someone RLOCK() from application. Also, you can have some table (I call it 'locker.dbf') which check user name of 'form/process holders', if you want to provide one-user access to particular functionality.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform