Re: Forms 6 questions: boldfacing records....
Date: 2000/08/08
Message-ID: <8mo18t$1ab$1_at_gossamer.itmel.bhp.com.au>#1/1
Hi Ron,
Set_Item_Instance_Property will do this for you. Create bold-face and normal
visual attributes and set appropriately.
Unless there's a good reason I would avoid manually assigning values to
non-base table items, because this is what the Post-Query trigger is
designed for. Navigating around after query processing will affect
performance. You can assign non-base table values and change bolding in the
Post-Query and forget about a FOR LOOP.
If there is a separate requirement to change the visual attribute when, say,
a button is pressed, then because Set_Item_Instance_Property accepts record
number as a parameter you can set bold-face without navigating through the
records.
If the above is no good to you then the trigger you are looking for is probably a When-New-Record-Instance trigger.
please help wrote in message ...
>Hello.
>I've got a "FOR LOOP" cursor setup in Forms 6.0 that manually assigns
values
>to non-database fields on a canvas. I'm displaying about 15 records on the
>canvas. Inside of the LOOP, I would like to have an IF statement that,
when
>true, will set the current record it is writing to bold face type, else set
>it to regular type.
>
>Does anyone know how to do this? I could do it with a trigger if I was
only
>displaying one record at a time on the screen, but I need to be able to
>display around 15.
>
>Thanks for any help.
>Ron Watson
>rwatson_at_kemron-lab<remove_me>.com
>
>
>
>
Received on Tue Aug 08 2000 - 00:00:00 CEST