Removes all records from the current table.

Syntax

ZAP

Description

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.

OODML

Use the Database objectís emptyTable(†) method.