Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is the file in use?
Message
De
25/01/2007 17:48:42
 
 
À
25/01/2007 16:51:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01189394
Message ID:
01189412
Vues:
7
The only way to ensure that you can open a DBF is to attempt to USE it and handle the error if you can't.

>I have a table with file names in in.
>
>Is there a way to know if a file is opened?
>
>Will I have to use fclose or fcreate?
>
>What I'm hoping for (solution) is something like the following
>
>
>If TheFileIsOpen( lcNameOfTheFile)
>   .
>   .
>   .
>else
>   .
>   .
>   .
>endif
>
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform