Script Steps Reference

Table Of Contents
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.