Script Steps Reference

Table Of Contents
Found Sets script steps
F
ILEMAKER PRO SCRIPT STEPS REFERENCE 139
Compatibility
Originated in
FileMaker Pro 6.0 or earlier
Description
If you do not create a find request, this script step will perform the last find request that was
executed.
You can use a Perform Find script following an Enter Find Mode script step, to pause the script and
allow the user to enter find criteria before performing a find.
Example 1
Goes to the Invoice Details layout, enters Find Mode, pauses for user input, performs a find, and
returns to the original layout.
Go to Layout ["Invoice Details"]
Enter Find Mode [Pause]
Perform Find [ ]
Go to Layout [original layout]
Example 2
Goes to Find mode, pauses for user input, and performs the find. Displays the Invoice Details layout,
Invoices layout, or a custom dialog depending on how many records were found.
Set Error Capture [On]
Enter Find Mode [Pause]
Perform Find [ ]
If [Get ( FoundCount ) = 1]
Go to Layout ["Invoice Details"]
Else If [Get ( FoundCount ) > 1]
Go to Layout ["Invoices"]
Else
Show Custom Dialog ["No records were found."]
End If
Where the script step runs Supported
FileMaker Pro Yes
FileMaker Server scheduled script Yes
FileMaker Go Yes
Custom Web Publishing Yes
FileMaker WebDirect Yes
Runtime solution Yes