A script-enabled browser is required for this page to function properly.

SYSTEM.CURSOR_RECORD System Variable

Syntax

SYSTEM.CURSOR_RECORD

Description

SYSTEM.CURSOR_RECORD represents the number of the record where the cursor is located. This number represents the record's current physical order in the block's list of records. The value is always a character string.

SYSTEM.CURSOR_RECORD Examples

Assume that you want to redefine [Previous Item] on the first text item of the ITEMS block so that it navigates to the last text item of the ORDERS block if the current record is the first record. The following Key-PRV-ITEM trigger on the ITEMS.ORDERID text item performs this function.

IF :System.Cursor_Record = '1'
THEN Go_Item('orders.total');
ELSE Previous_Item;
END IF;