Script Steps Reference
Table Of Contents
- Chapter 1 Introduction
- Chapter 2 Control script steps
- Chapter 3 Navigation script steps
- Chapter 4 Editing script steps
- Chapter 5 Fields script steps
- Set Field
- 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
- Chapter 6 Records script steps
- Chapter 7 Found Sets script steps
- Chapter 8 Windows script steps
- Chapter 9 Files script steps
- Chapter 10 Accounts script steps
- Chapter 11 Spelling script steps
- Chapter 12 Open Menu Item script steps
- Chapter 13 Miscellaneous script steps
- Appendix A Glossary
20 FileMaker Script Steps Reference
Exit Script
Else
Print []
End If
#Example 2: Assign Letter Grade
If [Get(ScriptParameter) >= 90]
Exit Script[Result: "A")]
Else If [Get(ScriptParameter) >= 80]
Exit Script[Result: "B"]
Else If [Get(ScriptParameter) >= 70]
Exit Script[Result: "C"]
Else If [Get(ScriptParameter) >= 60]
Exit Script[Result: "D"]
Else
Exit Script[Result: "F"]
End If
Halt Script
Format
Halt Script
Options
None.
Web compatibility
This script step is web-compatible.
Description
Forces all scripts (including any sub-scripts
or external scripts) to stop immediately. While
pressing Esc will also halt a script, Halt Script is useful if you are also using the Allow User
Abort script step to disable the Esc key. Halt Script stops the script when Allow User Abort
is set to Off.