Script Steps Reference

Table Of Contents
Navigation script steps
F
ILEMAKER SCRIPT STEPS REFERENCE 27
Navigation script steps
Navigation script steps move to different areas of a database. Use Navigation script steps to:
go to a specific record or find request
switch to a specific layout
move among fields on a layout
emulate pressing Enter or Tab
switch to Browse mode to work with contents of a file
switch to Find mode to fill out find requests
switch to Preview mode to see how records, forms, or reports will look when they're printed
Go to Layout
Purpose
Switches to the specified layout.
Format
Go to Layout [“<layout name or layout number>”]
Options
Specify lets you choose the target layout. For Specify, you can:
choose the original layout. The original layout is the active layout when the script is initiated.
choose a specific layout by name from the list of layouts you’ve defined in your file.
choose Layout Name by calculation, and use the Specify Calculation dialog box to create
a formula whose result is a valid layout name.
choose Layout Number by calculation, and use the Specify Calculation dialog box to
create a formula whose result is a valid layout number. (Layout numbers correspond to the
order of the layouts in the file.)
Compatibility
This script step is also supported in web publishing and in a FileMaker Server scheduled script.
Description
This script step is useful when you begin a script to make sure the user starts with the correct layout
displayed.
Notes
The Go to Layout script step can only take you to layouts defined in the same file as the
script itself. To go to layouts in an external file, define a script in that file using the Go to
Layout script step, and call that script from the first file using the
Perform Script script
step.