Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File access denied when trying to erase a text file
Message
 
À
31/03/2006 03:39:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01109432
Message ID:
01109441
Vues:
23
>hi,
>
>thanks for your reply.
>
>i get another error, file is in use.. what's wrong?
>
>i have this complete code in my command button click,
>
>


>if file('c:\regions\fbas\'+dfolder+'\dummy.txt')
> erase ('c:\regions\fbas\'+dfolder+'\dummy.txt')
>else
> gnerrfile = fcreate('c:\regions\fbas\'+dfolder+'\dummy.txt')
>endif
>


>
>
>TIA.

Did you FLOCSE() that file somewhere? If you didn't you'll keep receving that message.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform