Get(ActiveFieldContents)

Category: Get

Syntax: Get ( ActiveFieldContents )

Parameters: None

Data type returned: Text, Number, Date, Time, Timestamp, Container

Description:

Returns the contents of the field in which the cursor is currently placed. The contents of the field need not be highlighted.

Get ( ActiveFieldContents ) can return the contents of fields of any data type, but the field in which you place those contents may need to be of the same data type for it to display properly.

Note that in the case where the cursor is not placed in a field, a blank value is returned, as opposed to a question mark.

When using Get() functions within field definitions, in most cases you should set the storage option to be "unstored" so that the field always displays current data.

Examples:

Function

Results

Get ( ActiveFieldContents )

Returns Rowena when the current field contains the name Rowena.

Категории