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

RAD function: cursor.field.name.set

A RAD function that sets the cursor to a specific field on a form.

Function

cursor.field.name.set

Format

cursor.field.name.set($field.name, $row.number)

$field name is the field name

$row.number is for arrays (optional)

Factors

  • This function returns no value. It is not necessary to use it in an assignment statement.
  • If the field is an array, you can position the cursor on a specific row by specifying $row.number.

Example

cursor.field.name.set("address", 2)

After execution, the cursor appears in the second row of the Address field on the next form displayed.