Script Steps Reference
Table Of Contents
- Contents
- Script steps reference (alphabetical list)
- About script steps
- Control script steps
- Navigation script steps
- Editing script steps
- Fields script steps
- Set Field
- Set Field By Name
- Set Next Serial Value
- Insert Text
- Insert Calculated Result
- Insert From Device
- Insert From Index
- Insert From Last Visited
- Insert From URL
- Insert Current Date
- Insert Current Time
- Insert Current User Name
- Insert Picture
- Insert QuickTime
- Insert Audio/Video
- Insert PDF
- Insert File
- Replace Field Contents
- Relookup Field Contents
- Export Field Contents
- Records script steps
- New Record/Request
- Duplicate Record/Request
- Delete Record/Request
- Delete Portal Row
- Delete All Records
- Open Record/Request
- Revert Record/Request
- Commit Records/Requests
- Copy Record/Request
- Copy All Records/Requests
- Import Records
- Export Records
- Save Records As Excel
- Save Records As PDF
- Save Records As Snapshot Link
- Found Sets script steps
- Windows script steps
- Files script steps
- Accounts script steps
- Spelling script steps
- Open Menu Item script steps
- Miscellaneous script steps
- Glossary
Fields script steps
F
ILEMAKER PRO SCRIPT STEPS REFERENCE 104
Compatibility
Originated in
FileMaker Pro 6.0 or earlier
Description
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. For example, if a field
value is modified and a replace is attempted before the data is committed, then the replace
will be based on the old data rather than the modified data. (For more information about
committing data, 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]
Where the script step runs Supported
FileMaker Pro Yes
FileMaker Server scheduled script Partial
FileMaker Go Yes
Custom Web Publishing Partial
FileMaker WebDirect Partial
Runtime solution Yes