Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't delete a table
Message
From
26/02/2002 13:27:58
 
 
To
26/02/2002 13:24:18
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00625307
Message ID:
00625314
Views:
14
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform