1 Reply Latest reply on Jan 22, 2013 1:50 PM by Raivis

    SET_ITEM_PROPERTY - problem ... help

      Hi, i have little problem...
      I want to set_item_property when-new-record-instance....
      Problem is in that that this set_item_property - sets UPDATE_ALLOWED, PROPERTY_FALSE to all items .... when i navigate between records....

      here is my if statement code in when-new-record-instance
      if :rvo_masnr_int.pazime = 'Y' and 
                     (rtrim(substr(:interval_from, 1,2), 'QWERTYUIOPASDFGHJKLZXCVBNM') is not null or
           rtrim(substr(:interval_from, 3), '0123456789') is not null or 
           rtrim(substr(:interval_till, 1,2), 'QWERTYUIOPASDFGHJKLZXCVBNM') is not null or
           rtrim(substr(:interval_till, 3), '0123456789') is not null) 
      set_item_property('interval_from' ,UPDATE_ALLOWED, property_false);
      set_item_property(interval_till' ,UPDATE_ALLOWED, property_false);
      end if;