Script Steps Reference

Table Of Contents
Found Sets script steps
F
ILEMAKER PRO SCRIPT STEPS REFERENCE 148
Modify Last Find
Purpose
Changes the most recent find request.
Format
Modify Last Find
Options
None.
Compatibility
Originated in
FileMaker Pro 6.0 or earlier
Description
Modify Last Find runs in Find mode. If the database is in another mode when the script runs,
FileMaker Pro switches to Find mode before running the script.
Example 1
Performs a find. If no records were found, modifies the find request.
Perform Find [Restore]
If [Get ( FoundCount ) = 0]
Modify Last Find
End If
Example 2
Performs a find, then sorts the found set. If no records were found, allows the user to modify the find
request.
Set Error Capture [On]
Enter Find Mode [Pause: On]
Perform Find [ ]
If [Get (LastError) = 401]
Modify Last Find
Else
Sort Records [Restore; With dialog: Off]
End If
Where the script step runs Supported
FileMaker Pro Yes
FileMaker Server Yes
FileMaker Go Yes
Custom Web Publishing Yes
FileMaker WebDirect Yes
Runtime solution Yes