Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Used() function
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00217407
Message ID:
00217941
Vues:
18
>that's ok because they will get an error message instead. Thanks
>
>>You could use the table and check the result of FLock() before trying to use it exclusively. You still have a chance that another user open the table between the time that you close the table and reopen it exclusively, though.

Timothy,

File lock and exclusive use are no the same thing. You can FLOCK a file that someone else has open. Also, getting the flock is no guarantee that you will still get exclusive use, so you need to cover that possiblitiy anyway.

Relax, and stop fretting over three or four lines of code.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform