Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
USED() with non .dbf extension
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00276954
Message ID:
00277063
Vues:
30
>So I want to open the table exclusively. How do I tell if it's in use?

You were on the right track earlier. Just do:
nerror = fopen(cfilename)
if nerror >= 0
  =fclose(nerror) && It's available, so close it quickly and USE it!
endif
IOW, if nerror < 0, it's in use, and forget EXCLUSIVE open.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform