Script Steps Reference
Table Of Contents
- Contents
- About script steps
- Script steps reference (alphabetical list)
- 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 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
FILEMAKER SCRIPT STEPS REFERENCE 53
Fields script steps
Fields script steps operate on specific fields. With these script steps, you can:
• paste data into fields
• import information into fields and export data from fields
• evaluate a calculation and assign the result to a field
Set Field
Purpose
Replaces the entire contents of the specified field in the current record with the result of a
calculation.
Format
Set Field [<table::field>; <value or formula>]
Options
• Select Specify target field or click Specify to specify the field whose contents you want to
replace. If no field is specified and a field is selected in Browse mode or Find mode, that
field is used.
• For Calculated result, click Specify to define the calculation. In the Specify Calculation
dialog box, type the calculation you want evaluated, or use the field list (on the left) and the
functions list (on the right) with the mathematical and text operators to build the calculation.
Compatibility
Originated in
FileMaker Pro 6.0 or earlier
Description
• The result of the calculation must match the field type. For example, you can't assign a date
calculation to a container field.
• The specified field doesn’t have to be on the current layout.
Where the script step runs Supported
FileMaker Pro Yes
FileMaker Server scheduled script Yes
FileMaker Go Yes
Custom Web Publishing Yes
Instant Web Publishing Yes
Runtime solution Yes