6 Replies Latest reply: Dec 28, 2008 4:17 AM by 673092 RSS

    set_item_property();

    658893
      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.