Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't delete a table
Message
De
26/02/2002 13:27:58
 
 
À
26/02/2002 13:24:18
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00625307
Message ID:
00625314
Vues:
12
if the table to be deleted is named tbl_dele the just issue:

USE IN tbl_dele

OR

SELECT tbl_dele
USE

>Hello all...
>
>This application is written in 2.6 (no upgrade possible at this time). The app imports tables that the user selects, then saves the table with a .BAK ext. However, I can't delete the original table (now backed up). The error I get is file is in use.
>
>Here's my code:
>
>use &_afnfile
>copy to (filename) && saves with .BAK ext.
>delete file &_afnfile
>
>I'm assuming I have to close the table first, but I'm not sure how to do that.
>
>Thanks for your time,
>Sunshine
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform