Get(QuickFindText)
Returns the text that is stored in the quick find box.
Format
Get ( QuickFindText )
Parameters
None
Data type returned
text
Originated in version
11.0
Description
Use this function to pass the text that's in the quick find box to a script when you override the Perform Quick Find command in a custom menu set.
Example 1
Performs a quick find using the text entered in the quick find box. If no records are found, returns a custom error message.
Copy
Perform QuickFind [Get ( QuickFindText )]
If [Get ( LastError ) = 0]
Go to Layout ["Invoice Details" ( Invoices )]
Go to Record/Request/Page [First]
Else
Show Custom Dialog ["There are no invoices containing \"" & Get ( QuickFindText ) & "\""]
End If