How to: Delete Tables
|Visual FoxPro 9.0 SP2|
|How to: Delete Tables|
You can remove tables or delete them permanently from disk when you no longer need them. For information about removing and deleting database tables, see.
If you delete a table that has files associated with it, such as a memo file (.fpt) or index files (.cdx or .idx), make sure to delete those files.
To remove or delete a free table
Open the project in the Project Manager.
In the Project Manager, expand the Data node, then the Free Tables node.
In the Free Tables node, click the table you want, and then Remove.
A confirmation dialog displays so you can choose to remove or delete the table.
In the confirmation dialog box, choose one of the following
To remove the table from the project, click Remove.
To delete the table permanently from disk, click Delete.
For more information, see.
To delete a free table programmatically
Close the table with the CLOSE command and the TABLES keyword.
Delete the file by using the DELETE FILE command or the ERASE command.
For more information, seeand .
Comment or report problem with topic