Script Steps Reference
Table Of 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 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
- Truncate Table
- Found Sets script steps
- Windows script steps
- Files script steps
- Accounts script steps
- Spelling script steps
- Open Menu Item script steps
- Miscellaneous script steps
- Show Custom Dialog
- Allow Formatting Bar
- Refresh Object
- Beep
- Speak (OS X)
- Dial Phone
- Install Plug-In File
- Install Menu Set
- Set Web Viewer
- Open URL
- Send Mail
- AVPlayer Play
- AVPlayer Set Playback State
- AVPlayer Set Options
- Refresh Portal
- Send DDE Execute (Windows)
- Perform AppleScript (OS X)
- Execute SQL
- Send Event
- Comment
- Flush Cache to Disk
- Exit Application
- Get Directory
- Enable Touch Keyboard
- Glossary
Fields script steps
F
ILEMAKER PRO SCRIPT STEPS REFERENCE 105
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, server-side scripts, and Custom Web Publishing run this script step
as if the With dialog option is set to Off.
• FileMaker Go does not support the With dialog: On option.
Example 1
Assigns serial numbers to all invoices in the found set.
Sort Records [Restore; With dialog: On]
Go to Record/Request/Page [First]
Replace Field Contents [With dialog: Off; 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 [With dialog: Off; Invoices::Customer ID; Current
Contents]