FACTS:
1. Using Crystal 9
2. Using 2 fields to group by.
3. Using the following formula to alternate background colour of Group section:
if Remainder(GroupNumber, 2) = 0 then Color (241,189,80)
else Color (237,171,33)
PROBLEM:
The colours are not alternating properly because the group number does not reset itself after each 1st level group. Instead, GroupNumber counts all groups no matter what level of grouping it is. As an example. My first level grouping is, say, Buicks and my second is Accords. My second level grouping is Years, 1999, 2000 and 2001. The result is that Buicks and Accords both get an odd group number assigned and they get the same colour where in fact I want them to alternate (as I hide the detail for a later drill down).
Buick - 1
1999 - 2
2000 - 3
2001 - 4
Accord - 5
1999 - 6
2000 - 7
2001 - 8
I had expected the group number to work like this:
Buick - 1
1999 - 1
2000 - 2
2001 - 3
Accord - 2
1999 - 4
2000 - 5
2001 - 6
Any suggestions for a work around.
1. Using Crystal 9
2. Using 2 fields to group by.
3. Using the following formula to alternate background colour of Group section:
if Remainder(GroupNumber, 2) = 0 then Color (241,189,80)
else Color (237,171,33)
PROBLEM:
The colours are not alternating properly because the group number does not reset itself after each 1st level group. Instead, GroupNumber counts all groups no matter what level of grouping it is. As an example. My first level grouping is, say, Buicks and my second is Accords. My second level grouping is Years, 1999, 2000 and 2001. The result is that Buicks and Accords both get an odd group number assigned and they get the same colour where in fact I want them to alternate (as I hide the detail for a later drill down).
Buick - 1
1999 - 2
2000 - 3
2001 - 4
Accord - 5
1999 - 6
2000 - 7
2001 - 8
I had expected the group number to work like this:
Buick - 1
1999 - 1
2000 - 2
2001 - 3
Accord - 2
1999 - 4
2000 - 5
2001 - 6
Any suggestions for a work around.