Develop > Programming > System Language reference > List: RAD functions > RAD function: cursor.field.name

RAD function: cursor.field.name

A RAD function that returns a string containing the name of the input field where the cursor was located when the user pressed an interrupt key, such as the Enter or option keys. To position the cursor in a specific field, use the cursor.field.name.set function. The function returns the field name as it is defined in the current form.

Function

cursor.field.name

Format

cursor.field.name(n)

Factors

Returns the fully-qualified field name if the function is called with an argument.

Example

cursor.field.name() returns number.

cursor.field.name(1) returns header,number.