Script Steps Reference

Table Of Contents
Found Sets script steps
F
ILEMAKER SCRIPT STEPS REFERENCE 143
Constrain Found Set
Purpose
Narrows the existing found set using criteria in a stored find request.
Format
Constrain Found Set [Restore]
Options
The Specify find requests dialog box allows you to create and store a find request with the script
step. See the Perform Find script step.
Compatibility
Originated in
FileMaker Pro 6.0 or earlier
Description
This script step is equivalent to a logical AND search.
Note If no records match the find criteria, this script step returns a found set of zero records.
Example 1
Constrains the found set to paid invoices or shows all records.
Show Custom Dialog ["Display only paid invoices?"]
If [Get ( LastMessageChoice ) = 1]
Constrain Found Set [Restore]
Else
Show All Records
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