Get(ActiveFieldName)
Category: Get
Syntax: Get ( ActiveFieldName ) |
Parameters: None
Data type returned: Text
Description:
Returns the name of the field in which the cursor is currently placed.
Even when the active field is a related or unrelated field from another table, Get ( ActiveFieldName ) simply returns the field's name. It does not use the double-colon syntax "relationshipName::FieldName."
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 ( ActiveFieldName ) |
Returns Name_First when the cursor is in the Name_First field. |