Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Table opened exclusive
Message
 
 
À
03/08/2001 16:12:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00539642
Message ID:
00539720
Vues:
10
>Is there a way to check if a table is openmed exclusively?

In addition to Sergey's reply. If you want to check, if file is opened exclusive from another computer, you may just try to open it with low-level functions and close, e.g.
local lnHandle
lnHandle=fopen("yourfilewith fullpath")
if m.lnHandle>0 and fclose(m.lnHandle)
   * File is not opened exclusive
else
   * file is opened exclusive
endif
Or you can try to use it, but trap for possible errors.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform