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
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 on page 25 to disable the Esc key. Halt Script stops the script when Allow
User Abort is set to Off.
Example
You can use the Halt Script script step with the Show Custom Dialog script step on page
121 to present a user with options. If the user clicks Cancel, the script stops; otherwise,
the script continues.
Show Custom Dialog ["Delete all records?"]
If [Get (LastMessageChoice) = 2]
Halt Script
End If
Delete All Records [No Dialog]
If
Format
If [<Boolean calculation>]
Options
Click Specify to define the Boolean
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.
Web compatibility
This script step is web-compatible.