Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is it locked?
Message
 
À
22/05/2003 13:16:43
John Tomblin
Service Station Systems, Inc.
San Jose, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00791737
Message ID:
00791760
Vues:
20
>Does anyone know a way to ask the question: "Is there currently a lock on the current record in a table?" I know the rlock() function will tell me this but I want to ask the qusetion before I attempt the rlock().


No there is no way and there shouldn't be. The only way to know if you can lock a record is to lock it. If you did have a way to check you could check and be told it is not locked and then when you tried to lock it the lock could fail because someone else locked it between your checking and your locking it.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform