Reference > Functions reference > Get functions > Get(LayoutName)
 

Get(LayoutName)

Returns the name of the layout currently being displayed.

Format 

Get(LayoutName)

Parameters 

None

Data type returned 

text

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 name value, but results are returned for only the foreground window.

Notes 

You can use the Get(LayoutNumber) function as an alternative to Get(LayoutName) if there are multiple layouts with the same name.

Example 1 

Returns Product List when the Product List layout is displayed.

Returns Customer Invoice when the Customer Invoice layout is displayed.

For an example script, see Perform Script On Server script step.

Related topics 

Functions reference (category list)

Functions reference (alphabetical list)

About formulas

About functions

Defining calculation fields

Using operators in formulas