Script Steps Reference

Table Of Contents
Fields script steps
F
ILEMAKER SCRIPT STEPS REFERENCE 104
Description
This script step uses the value in a specified field in the current record or uses a calculation to
replace the value in that field in every record in the current found set.
Important Replace Field Contents modifies all records in the found set. You cannot undo a Replace
Field Contents script step.
This script step can also be used to reserialize a field in every record in the current found
set.
When you use the Replace Field Contents script step, the data must be committed first
before the operation is performed, or you may get unexpected results. See Committing data
in records.
FileMaker WebDirect, FileMaker Server scheduled scripts, and Custom Web Publishing run
this script step as if the Perform without dialog option is selected.
Example 1
Assigns serial numbers to all invoices in the found set.
Sort Records [Restore]
Go to Record/Request/Page [First]
Replace Field Contents [No dialog; Invoices::Invoice ID; Serial numbers]
Example 2
Replaces the contents of the Customer ID field in all records in the found set with the contents of the
current record's Customer ID field.
Perform Find [Restore]
Replace Field Contents [No dialog; Invoices::Customer ID; Current
Contents]