Else If
Evaluates a Boolean calculation and performs a conditional action based on that evaluation, like the If script step.
Else If [<Boolean calculation>]
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.
Where the script step runs 
FileMaker Pro 
FileMaker Server scheduled script 
FileMaker Go 
Custom Web Publishing 
FileMaker WebDirect 
Runtime solution 
Originated in 
FileMaker Pro 6.0 or earlier
Must follow an If step or another Else If step. Else If cannot follow an Else script step.
When an If script step evaluates to False, script execution moves to the Else If script step. When an Else If statement evaluates to True, the block of steps under the Else If is executed. An evaluation of True ends the Else If process, and upon reaching the next Else If or Else statement, execution will skip to the End If script step.
Example 1 
Performs a find and sorts records. If no records match the find request, displays a custom dialog.
Perform Find [Restore]
If [ Get ( LastError ) = 0 ]
Sort Records [Restore; No dialog]
Else If [ Get ( LastError ) = 401 ]
Show Custom Dialog ["No records were found."]
End If
Related topics 
Defining calculation fields
If function
If structure examples
Script steps reference (alphabetical list)
Script steps reference (category list)
About formulas