Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Delete via command button
Message
De
19/04/2007 15:01:36
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
19/04/2007 06:14:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01217650
Message ID:
01217995
Vues:
6
>i have no tables, itry it with tables and without the same message,
>
>it is a small project ,
>i use it to convert excel sheet to .dbf and make operations and convert it again to excel,
>no need to keep it.
>
>thanks
>>>hi all,
>>>i try to delete via command button as below.it works at mydir(myform),but if i run it as .exe i got error message file is in use.
>>>
>>>CLOSE all
>>>ERASE *.dbf
>>>ERASE *.cdx
>>>ERASE *.fpt
>>>ERASE *.xls
>>>
>>>thanks
>>
>>That means that probably one of the tables is open, and you must close some table first.

Some file is probably open. You might try to erase the files one at a time, and see what file gives you problems.

You can use adir() to get a list of files in a directory.

On the other hand, Glenn's suggestion seems quite plausible, so you might try this first.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform