Functions Reference

Table Of Contents
86 FileMaker Functions Reference
Get(LayoutNumber)
Format
Get(LayoutNumber)
Parameter
None
Data type returned
number
Description
Returns the number of the layout currently displayed, according to the list in the Set
Layout Order dialog box.
If there are multiple windows open in the current database file, each window can have its
own layout number value, but results are returned for only the foreground window.
Note See FileMaker Pro Help for information about running scripts in client/server and
peer-to-peer environments.
Example
Returns 3 when the current layout is third in the list of layouts in Set Layout Order.
Get(LayoutTableName)
Format
Get(LayoutTableName)
Parameter
None
Data type returned
text
Description
Returns the name of the table
from which the current layout is displaying records. If no
windows are open, an empty string is returned.
Note See FileMaker Pro Help for information about running scripts
in client/server and
peer-to-peer environments.
Example
There are two layouts, Teachers Layout and Coaches Layout, with corresponding tables
named Teachers and Coaches in the table Instructors. 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.