Get(ActiveFieldTableName)
Purpose 
Returns the name of the table that contains the active field (the field that has the focus).
Format 
Get(ActiveFieldTableName)
Parameters 
None
Data type returned 
text
Originated in 
FileMaker Pro 7.0
Description 
If there is no active field, this function returns an empty string.
Note  For information on how functions evaluate differently on the host versus the client, search the FileMaker Knowledge Base available at http://help.filemaker.com.
Examples 
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