Re: Forms:set_item_property(item,enable true & false) w/ row context

From: Madhu Cherukuri <Madhu.Cherukuri_at_usa.net>
Date: 30 Oct 1998 22:41:01 GMT
Message-ID: <363A40B0.CC7C67B7_at_usa.net>


Try coding with KEY-NXTREC and KEY-PRVREC First navigate to the record according to the key and then put your conditional code to set the item property

It may look like this

KEY-NXTREC Begin
  NEXT_RECORD;
  IF my_condition THEN

      SET_ITEM_PROPERTY('my_item', PROPERTY, PROPERTY_TRUE);   ELSE
      SET_ITEM_PROPERTY('my_item', PROPERTY, PROPERTY_FLASE);   END IF;
End;

This will dynamically change the record property based on the current record values

HTH Madhu Cherukuri

Eric Keen wrote:

> On a multi-row item, I've been trying to conditionally set the enable
> property on and off for a column of the row based on an adjacent item
> value.
>
> The entire column moves from enabled to disabled. Is there any way to
> conditionally set this property at the row level for an item?
>
> Thanks,
> Eric
Received on Fri Oct 30 1998 - 23:41:01 CET

Original text of this message