Get(ActiveFieldContents)

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 version 

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.

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.

Example 1 

Returns SomeShop when the focus is in the Name field, and that field contains the data SomeShop.