SYSTEM.CURSOR_RECORD
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.
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;