Re: Forms4.5 Problem

From: Wim Jans <bs130659_at_skynet.be>
Date: Wed, 4 Nov 1998 19:25:31 +0100
Message-ID: <71q604$4d9$1_at_news1.skynet.be>


Try this:

In the when-new-record-instance trigger put:

  IF column3 = c THEN -- or any other condition

     Set_Item_Property(column3, UPDATE_ALLOWED, PROPERTY_FALSE);   ELSE
     Set_Item_Property(column3, UPDATE_ALLOWED, PROPERTY_TRUE);   END IF; Wim

Michael McLaughlin heeft geschreven in bericht <36404E94.B0444D1_at_paragon.ie>...
>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 Wed Nov 04 1998 - 19:25:31 CET

Original text of this message