Script Steps Reference

Table Of Contents
Records script steps
F
ILEMAKER PRO SCRIPT STEPS REFERENCE 140
Notes
Truncate Table does not delete related records even if the relationship is set up to do so
(see Creating and changing relationships). To delete related records as well, use Delete All
Records instead.
If you choose Current Table and the active table when this script step is performed is from
an
ODBC data source, Truncate Table is skipped and returns an error code. If the active
table is from an external FileMaker data source, Truncate Table performs normally.
Server-side scripts and Custom Web Publishing run this script step as if the With dialog
option is Off.
Example 1
After asking the user, deletes all records in the table named Invoices.
Truncate Table [With dialog: On; Table: “Invoices”]