Script Steps Reference

Table Of Contents
Found Sets script steps
F
ILEMAKER PRO SCRIPT STEPS REFERENCE 144
Example 2
Goes to Find mode, sets the Date field to the current date, and performs the find. Displays the
Invoice Details layout, Invoices layout, or a custom dialog box depending on how many records
were found with today’s date.
Set Error Capture [On]
Enter Find Mode [Pause: Off]
Set Field [Invoices::Date; Get(CurrentDate)]
Perform Find [ ]
If [Get ( FoundCount ) = 1]
Go to Layout ["Invoice Details"]
Else If [Get ( FoundCount ) > 1]
Go to Layout ["Invoices"]
Else
Show Custom Dialog ["No records were found."]
End If