Script Steps Reference

Table Of Contents
22 FileMaker Script Steps Reference
Example
If [Get (AccountName) = "Jim Davis"]
Go to Layout [“File One”]
Perform Find [Restore]
Else If [Get (AccountName) = "Julia Vargas"]
Go to Layout [“File Two”]
Perform Find [Restore]
Else If [Get (AccountName) = "Gerard LeFranc"]
Go to Layout [“File Three”]
Perform Find [Restore]
Else
Go to Layout [“File Four”]
Show All Records
End If
Note In this example, Get(AccountName) only returns usable values if database users log
in using assigned account names. If no accounts are created or required, Get
(AccountName) returns the default value ‘Admin’.
Else
Format
Else
Options
None.
Web compatibility
This script step is web-compatible.
Description
Use with the If script step. Performs one set of steps if a calculation is True (not zero), and
another set of steps if the calculation is False (zero).
Example
If [Table1::State = "CA"]
Perform Script ["Compute CA Tax and Total"]
Else
Perform Script ["Compute Total"]
End If