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.

NEXT_ITEM built-in<br />

Description<br />

Navigates to the navigable item with the next higher sequence number than the current item. If there is<br />

no such item, NEXT_ITEM navigates to the item with the lowest sequence number. If there is no such<br />

item, NEXT_ITEM navigates to the current item.<br />

If the validation unit is the item, NEXT_ITEM validates any fields with sequence numbers greater than<br />

the current item or less than the target item.<br />

The function of NEXT_ITEM from the last navigable item in the block depends on the setting of the<br />

Navigation Style block property. The valid settings for Navigation Style include:<br />

Same Record (Default): A Next Item operation from a block’s last item moves the input focus to the first<br />

navigable item in the block, in that same record.<br />

Change Record: A Next Item operation from a block’s last item moves the input focus to the first<br />

navigable item in the block, in the next record. If the current record is the last record in the block and<br />

there is no open query, <strong>Form</strong> <strong>Builder</strong> creates a new record. If there is an open query in the block (the<br />

block contains queried records), <strong>Oracle</strong> forms retrieves additional records as needed.<br />

Change Block: A Next Item operation from a block’s last item moves the input focus to the first<br />

navigable item in the first record of the next block.<br />

Syntax<br />

PROCEDURE NEXT_ITEM;<br />

Built-in Type restricted procedure<br />

Enter Query Mode yes<br />

Parameters<br />

none<br />

NEXT_ITEM examples<br />

300<br />

/*<br />

** Built-in: NEXT_ITEM<br />

** Example: See NEXT_BLOCK<br />

*/

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

Saved successfully!

Ooh no, something went wrong!