A database contains records marked for deletion after a table or view is removed from the database, or if the structure of a table in the database is modified.
The database must be opened exclusively, and no table or view in the database can be open.
CLOSE DATABASES
SET PATH TO (HOME(2) + 'data\') && Sets path to database
OPEN DATABASE testdata && Open the database
PACK DATABASE && Pack the current database