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

Get(ActiveFieldTableName) function
Format

Get(ActiveFieldTableName)
Parameter
None
Data type returned
text
Description
Returns the name of the table that contains the active field (the field that currently contains the cursor). If there is no active field, an empty string is returned.
Note   See Solving calculations on a host machine for information about running scripts in client/server and peer-to-peer environments.
Example
There are two fields, Teachers::Name and Coaches::Name, on the current layout. Creating a script that returns the result of Get(ActiveFieldTableName) to a third field will return Teachers when the script is performed after clicking in the Teachers::Name field, or will return Coaches after clicking in the Coaches::Name field.
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(ActiveFieldTableName) function
Previous
Page
Next
Page