11.01.2013 Views

Oracle Forms Developer – Form Builder Reference, Volume 1

Oracle Forms Developer – Form Builder Reference, Volume 1

Oracle Forms Developer – Form Builder Reference, Volume 1

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

SYSTEM.CURSOR_RECORD system variable<br />

Syntax<br />

SYSTEM.CURSOR_RECORD<br />

Description<br />

SYSTEM.CURSOR_RECORD represents the number of the record where the cursor is located. This<br />

number represents the record’s current physical order in the block’s list of records. The value is always a<br />

character string.<br />

SYSTEM.CURSOR_RECORD examples<br />

Assume that you want to redefine [Previous Item] on the first text item of the ITEMS block so that it<br />

navigates to the last text item of the ORDERS block if the current record is the first record. The<br />

following Key-PRV-ITEM trigger on the ITEMS.ORDERID text item performs this function.<br />

IF :System.Cursor_Record = ’1’<br />

THEN Go_Item(’orders.total’);<br />

ELSE Previous_Item;<br />

END IF;<br />

384

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!