![]() |
Next Page |
| Contents > Script steps reference (alphabetical list) > Navigation script steps > Go to Layout script step |
|
|
| Go to Layout script step |
| 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. |
| Web compatibility |
| This script step is web-compatible. |
| Description |
| Switches to the specified layout. Go to Layout is useful when you begin a script to make sure the user starts with the correct layout displayed. |
| Tips |
| 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. |
| Define an unstored calculation field with the function Get(LayoutNumber) function and place it on your layouts to verify the layout numbers of your layouts. |
| When a file has two or more tables, FileMaker Pro appends the name of the source table to the layout name for clarity. For example, Go to Layout ["Layout #2" (TableB)]. |
| Example |
Enter Browse Mode [] |
| Related topics |
| Get(LayoutAccess) function |
| Get(LayoutName) function |
| Get(LayoutNumber) function |
| Get(LayoutTableName) function |
| Script steps reference (alphabetical list) |
| Script step categories |
| About formulas |
|
|
| Contents > Script steps reference (alphabetical list) > Navigation script steps > Go to Layout script step | Next Page |