Re: Forms4.5 Problem

From: Lisa F. Miller <luv_at_ornl.gov>
Date: Thu, 05 Nov 1998 08:52:36 -0500
Message-ID: <3641ADA3.867552DA_at_ornl.gov>


Try this....

Set up a Visual Attributes: COLOR1

                                        COLOR2

In the Post-Query trigger for the block, do following:

    IF (criteria met) THEN

         Display_Item('block.item', 'COLOR1');     ELSE
         Display_Item('block.item', 'COLOR2');     END IF; This will set the color for each individual cell.

Hope this helps,
Lisa

Michael McLaughlin wrote:

> Hello ,
>
> concerning the problem below.....if I wanted to change the colour
> of 'f' without
> affecting the colour of 'c', how would I do this? I have tried using
> 'When-new-item-instance' on the block, and using visual attributes to
> change
> the colour.
> Works fine for the record you are currently focused in. However, it is
> also
> changes the colour of the rest of the column!!
>
> Help!!
> Michael
>
> > > I have a multi-record block:
> > >
> > > column1 column2 column3
> > > --------- --------- ---------
> > > row1 a b c
> > >
> > > row2 d e f
> > >
> > > I would like to be able to make C (row1, column3) Query Only, and F
>
> > > (row2, column3) Updatable. Set_Item_Property will not work because
> it
> > > set all the rows for column3. Set_Record_Property will not work
> because
> > > it set all the columns for row1. I need something which works like
>
> > > Display_Item for protecting/unprotecting a particular cell in the
> > > block. Is there a way to do this?
> > >
> >
> >Michael McLaughlin Tel: ++353 1 8330677
> >Systems Consultant Fax: ++353 1 8330671
> >Paragon Group Mobile: ++353 86 8378375
> >The Village Centre
> >165-169 Howth Road
> >Killester
> >Dublin 3
> >Ireland
> >
> >
Received on Thu Nov 05 1998 - 14:52:36 CET

Original text of this message