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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

** Example: Change the visual attribute of each item in the<br />

** current record.<br />

*/<br />

DECLARE<br />

cur_itm VARCHAR2(80);<br />

cur_block VARCHAR2(80) := :System.Cursor_Block;<br />

BEGIN<br />

cur_itm := Get_Block_Property( cur_block, FIRST_ITEM );<br />

WHILE ( cur_itm IS NOT NULL ) LOOP<br />

cur_itm := cur_block||’.’||cur_itm;<br />

Display_Item( cur_itm, ’My_Favorite_Named_Attribute’);<br />

cur_itm := Get_Item_Property( cur_itm, NEXTITEM );<br />

END LOOP;<br />

END;<br />

93

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

Saved successfully!

Ooh no, something went wrong!