Changes the most recent find request.
Viewing, repeating, or changing the last find
None.
Product | Supported |
FileMaker Pro Advanced | Yes |
FileMaker Go | Yes |
FileMaker WebDirect | Yes |
FileMaker Server | Yes |
FileMaker Cloud products | Yes |
FileMaker Data API | Yes |
Custom Web Publishing | Yes |
Runtime solution | Yes |
FileMaker Pro 6.0 or earlier
Modify Last Find runs in Find mode. If the database is in another mode when the script runs, FileMaker Pro Advanced switches to Find mode before running the script.
Performs a find. If no records were found, modifies the find request.
Perform Find [Restore]
If [Get ( FoundCount ) = 0]
Modify Last Find
End If
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