Topic group Related topics
Removes all records from the current table.
ZAP is the fastest way to delete all records from a table. DELETE ALL, followed by PACK, also deletes all records from a table. Using ZAP requires a table be opened exclusively.
When SET SAFETY is ON and you issue ZAP, dBASE Plus displays a warning message asking you to confirm the operation before removing records.
Use the Database objectís emptyTable(†) method.