Pack Database
Unlike its table-oriented counterpart, PACK, this command is actually useful. Information about a database is stored in an ordinary FoxPro table (well, okay, actually a Visual FoxPro table) with a special extension. Various operations on a database can leave deleted records behind. PACK DATABASE cleans up the deleted records, leaving the DBC file smaller and more manageable. In addition, starting in VFP 6, the Referential Integrity Builder requires that the database is free of deleted records, so you'll need to use this command if you want to generate RI code for your database.
Usage |
PACK DATABASE |
PACK DATABASE collapses all nodes in all TreeViews in the Project Manager windows of all open projects, even if the database being packed isn't included in the project. |
See Also |
Close Database, Modify Database, Open Database, Pack, PackData, Remove Table, Validate Database |