If a DBF file has memo fields, the matching DBT file containing the contents of the memo fields is not rebuilt. To reorganize a DBT file, use the function DbExport() or the command COPY TO.
Function DbPack() Foundation
Physically removes records marked as deleted from a file.
DbPack() --> NIL
The return value of DbPack() is always NIL.
The database function DbPack() reorganizes a file open in a work area by physically removing all records marked as deleted.
A record is marked as deleted with the function DbDelete() and is unmarked as deleted (the record is recalled) using the function DbRecall(). records with a deletion flag are logically filtered out and made not visible by the command SET DELETED ON. But they can be made visible again using DbRecall(). After DbPack() completes, records can no longer be "undeleted" with DbRecall() since they are physically removed from the file.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.