Perform Quick Find
Purpose 
Finds records that match one or more search words based on text that you specify or text returned by a calculation formula.
Format 
Perform Quick Find [<value or formula>]
Options 
Click Specify to specify the search text in the Specify Calculation dialog box. Type the search text in quotation marks or use a calculation function that returns the text to use for the search.
Compatibility 
 
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 
Originated in 
FileMaker Pro 11.0
Description 
You can use the Get(QuickFindText) function to pass the text that is typed in the Quick Find box to the Perform Quick Find script step.
Example 1 
Performs a quick find with the contents of the Custom Quick Find field, sorts the found set, and goes to the first record. Started by the OnObjectSave script trigger.
Perform Quick Find [Invoices::Custom Quick Find]
Sort Records [Restore; No dialog]
Go to Record/Request/Page [First]
Example 2 
Goes to the Invoice Details layout and performs a quick find using the text in the Quick Find search box. If no records are found, displays a custom dialog. Useful with a custom menu item that performs quick finds.
Go to Layout ["Invoice Details"]
Perform Quick Find [Get ( QuickFindText )]
If [Get ( LastError ) = 401]
Show Custom Dialog ["No records match " & Get ( QuickFindText )]
End If
Related topics 
Script steps reference (alphabetical list)
Script steps reference (category list)
Performing a quick find in Browse mode