For Programmers: Free Programming Magazines  


Home > Archive > Clarion > April 2004 > Color Record Groups in Browse









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Color Record Groups in Browse
Evert

2004-04-20, 8:30 am

Hi all,

I want to color groups of records in a browse. The table is keyed on
Order Number with many sequences. All same Order Numbers i want to
make the same color in the browse. In other words the Greenbar effect
but on groups of records.

Hope u understand what i am trying to do here! :)

Cheers
Jason Berkan

2004-04-20, 12:30 pm

On 20 Apr 2004 04:25:42 -0700, evert_de_jongh@msn.com (Evert) wrote:
>I want to color groups of records in a browse. The table is keyed on
>Order Number with many sequences. All same Order Numbers i want to
>make the same color in the browse. In other words the Greenbar effect
>but on groups of records.


All different colours, or just alternating based on Order Number?

For all different colours, just put all the possible order numbers in
the Color section of the browse.

For alternating based on order number, use mod 2 division.

FIL:OrderNumber % 2 = 1 ! Colour A
FIL:OrderNumber % 2 = 0 ! Colour B

Jason
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com