Script Steps Reference

Table Of Contents
FILEMAKER SCRIPT STEPS REFERENCE 12
Control script steps
Control script steps control the progression of the script by letting you tell FileMaker Pro exactly
what to do when and if specific conditions occur.
Use these script steps to:
call scripts and sub-scripts
pause and resume a script, based on defined conditions
conditionally perform script steps using if/then/else logic
stop a script before it's finished, if a specific condition is met
create loops that repetitively carry out a sequence of steps in a script, until a condition is
met
Note When you perform a script that uses the Get(LastError) function with control script steps, the
following control script steps do not clear the last error condition reported by FileMaker
Pro: If, Else,
Else If, End If, Loop, Exit Loop If, End Loop, Exit Script, and Halt Script.
Perform Script
Purpose
Performs a script that is defined in the current file or in another FileMaker Pro file.
Format
Perform Script [“<script name>; Parameter: <parameter>]
Options
To select a script, click Specify and choose the script from the list.
For Optional script parameter, type the text you want to use or click Edit and use the Specify
Calculation dialog box to build a more complex parameter.
Compatibility
This script step is also supported in web publishing and in a FileMaker Server scheduled script.
Originated in
FileMaker Pro 6.0 or earlier
Description
There is no need to open an external file when using a script in it—FileMaker Pro opens it for you.
You can use separate scripts to break complex tasks into smaller segments, which are often easier
to troubleshoot. You can also save time by putting common tasks like printing or exporting records
into separate scripts, which can then be accessed by more than one script. For example, you might
want to use the same page setup and printing options in several scripts. By defining those steps
once and saving them in separate scripts, you make it easy to access those steps many times.
Use script parameters to pass text or numbers into a script. When a parameter is specified, that
parameter may be accessed within a script or passed to other script steps using the
Get(ScriptParameter) function.
Alphabetical
headings for
script steps
reference:
A, B, C
D
E
F
G
H, I, J, K
L, M, N
O
P
Q, R
S, T
U, V, W, X, Y, Z