Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

set_item_property();

658893Dec 17 2008 — edited Dec 28 2008
hello,

i would like to set the initial value of an item property (Data type: char), so i wrote this code as follows but it didn't work. when i run the form i received a message saying that frm-41042-Property doesn't exist.

----------------------------------
DECLARE
ITEM_ID ITEM;
BEGIN
ITEM_ID:=FIND_ITEM('GPV_OBJECTIF.ANNEE_PROJECTION');

SET_ITEM_PROPERTY(ITEM_ID,*INITIAL_VALUE*,TO_CHAR(SYSDATE,'YYYY'));
END;
------------------------------------

I didn't find any info. in the oracle help about hou to set the initial value of an item.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 25 2009
Added on Dec 17 2008
6 comments
10,020 views