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 Current Date
- Insert Current Time
- Insert Current User Name
- Insert Picture
- Insert QuickTime
- Insert Object (Windows)
- Insert File
- Update Link (Windows)
- Replace Field Contents
- Relookup Field Contents
- Export Field Contents
- Records script steps
- Found Sets script steps
- Windows script steps
- Files script steps
- Accounts script steps
- Spelling script steps
- Open Menu Item script steps
- Miscellaneous script steps
Control script steps
F
ILEMAKER SCRIPT STEPS REFERENCE 20
Description
Every If script step must have a corresponding End If script step somewhere after it at the same
indentation. Whenever you use an If script step, the Manage Scripts feature automatically enters an
End If step.
Examples
If [Table1::State = "CA"]
Perform Script ["Compute CA Tax and Total"]
Else
Perform Script ["Compute Total"]
End If
Loop
Purpose
Repeats a set of script steps.
Format
Loop
Options
None.
Compatibility
This script step is also supported in web publishing and in a FileMaker Server scheduled script.
Description
This script step and the End Loop script step mark the beginning and end of a repeating structure of
script steps. The Manage Scripts feature performs the script steps that are enclosed within the loop
structure until it encounters one of the following:
• an Exit Loop If script step
• a Go to Record/Request/Page script step or Go to Portal Row script step when the Exit
Loop After First/Last option is selected
Every Loop step must have a corresponding End Loop step somewhere after the Loop step and at
the same indentation. Whenever you use a Loop script step, the Manage Scripts feature
automatically enters an End Loop step.
Examples
Go to Record/Request/Page [First]
Loop
Set Field [Table1::Bonus; 2500.00]
Go to Record/Request/Page [Next]
Exit Loop if [Get (RecordNumber) = 25]
End Loop