Go to Contents
Previous
Page
Next
Page
Contents > Functions reference (alphabetical list) > Get functions > Get(LayoutViewState) function

Get(LayoutViewState) function
Format

Get(LayoutViewState)
Parameter
None
Data type returned
number
Description
Returns a number indicating the currently active database file view. Returns:
0 (zero) if the database file is in View as Form view
1 if the database file is in View as List view
2 if the database file is in View as Table view
If there are multiple windows open in the current database file, each window can have its own layout view state value, but results are returned for only the foreground window.
Note   See Solving calculations on a host machine for information about running scripts in client/server and peer-to-peer environments.
Related topics
Functions reference (category list)
Functions reference (alphabetical list)
About formulas
About functions
Defining calculation fields
Using operators in formulas

Contents > Functions reference (alphabetical list) > Get functions > Get(LayoutViewState) function
Previous
Page
Next
Page