Get(ActiveFieldContents)
 
Purpose 
Returns the contents of the field that has the focus.
Format 
Get(ActiveFieldContents)
Parameters 
None
Data type returned 
text, number, date, time, timestamp, container
Originated in 
FileMaker Pro 6.0 or earlier
Description 
When the focus is in a repeating field, this function returns the contents of the active repetition. The result type of the active field depends upon the data type of the active field and the result type assigned to the Get(ActiveFieldContents) calculation function.
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 
Returns SomeShop when the focus is in the Name field, and that field contains the data SomeShop.
This type of calculation is most useful if used in a script when you want to examine data in different fields as the script proceeds.
Related topics 
Functions reference (category list)
Functions reference (alphabetical list)
About formulas
About functions
Defining calculation fields
Using operators in formulas