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

Get(LayoutTableName)

Returns the name of the table occurrence displaying records in the current layout.

Format 

Get(LayoutTableName)

Parameters 

None

Data type returned 

text

Originated in 

FileMaker Pro 7.0

Description 

Returns the table occurrence name for the layout in the current window. If no windows are open, an empty string is returned.

Example 1 

There are two layouts, Teachers Layout and Coaches Layout, with corresponding table occurrences named Teachers and Coaches. An unstored calculation of Get(LayoutTableName) returns Teachers when the current layout is Teachers Layout and returns Coaches when the current layout is Coaches Layout.

Related topics 

Functions reference (category list)

Functions reference (alphabetical list)

About formulas

About functions

Defining calculation fields

Using operators in formulas