Reference > Functions reference > Get functions > Get(LayoutNumber)
 
Get(LayoutNumber)
Purpose 
Returns the number of the layout (specified in the Manage Layouts dialog box) currently displayed.
Format 
Get(LayoutNumber)
Parameters 
None
Data type returned 
number
Originated in 
FileMaker Pro 6.0 or earlier
Description 
If there are multiple windows open in the current file, each window can have its own layout number value, but results are returned for only the foreground window.
Notes 
You can use Get(LayoutNumber) as an alternative to the Get(LayoutName) function if there are multiple layouts with the same name.
Examples 
Returns 3 when the current layout is third in the list of layouts in Manage Layouts.
Related topics 
Functions reference (category list)
Functions reference (alphabetical list)
About formulas
About functions
Defining calculation fields
Using operators in formulas