Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: SetItemProperty in Forms 4.5/ Developer 2000
Peter H. Larsen wrote:
>
> Subbu Turimella <subbu_at_netforce.com> wrote in article
> <32B1E29A.BC0_at_netforce.com>...
> > I am trying to create a text item in a form and dynamically assign the
> > high and low ranges to item in the when_new_item_instance trigger.
> > I could not figure out the property I should use. When I use RANGE_LOW/
> > RANGE_HIGH it compiles fine but give a run time error.
>
> Try using a field-reference in the property instead of a constant.
This is how my when_new_item_instance trigger looks like:
field_name varchar2(200);
begin
field_name := 'BLOCK1.ITEM6'; set_item_property(field_name, RANGE_LOW, 10); set_item_property(field_name, RANGE_HIGH, 20);end;
> > Anybody tried this before?
> What's the runtime errormessage you get?
I get:
FRM-41042: No such property for Set_Item_Property
>
> --
> // Complete Data Service
> // Peter H. Larsen
> // PETLARS_at_IBM.NET
-- email: subbu_at_netforce.com Ph: (415) 954-7028 Fax: (415) 781-3904Received on Mon Dec 16 1996 - 00:00:00 CST
![]() |
![]() |