Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use file exclusive question
Message
De
22/07/1999 11:21:04
 
 
À
22/07/1999 10:38:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00244710
Message ID:
00244751
Vues:
21
>What is the proper way to tell if someone else is already using a table? See if you can do an flock()? A "use filename exclusive" and check for an error?
>
>Thanks

The only way to reliably get a table EXCLUSIVE (note this is different than FLOCK()) is to try to USE table EXCLUSIVE and trap the error in an ON ERROR routine if someone else has the table open.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform