Garciaparra
Programmer
Hello,
How can i alternate the background color of a cross table. i would like to alternate the rows color. i'm using Crystal 6.5.24.
I have seen this question for the crystal 9.0, the proposed solution however doesn't work in my Crystal version.
This is the solution proposed for crystal 9.0
{
For the row labels, right click on the cell->format field->border->color->background->x+2 and enter:
whileprintingrecords;
numbervar d;
d := iif(d=100,255,100);
color(255,255,d);
For the inner cells and for the row total, format the field with:
whileprintingrecords;
numbervar c;
c := iif(c =255,100,255);
color(255,255,c)
}
thanks for any help.
How can i alternate the background color of a cross table. i would like to alternate the rows color. i'm using Crystal 6.5.24.
I have seen this question for the crystal 9.0, the proposed solution however doesn't work in my Crystal version.
This is the solution proposed for crystal 9.0
{
For the row labels, right click on the cell->format field->border->color->background->x+2 and enter:
whileprintingrecords;
numbervar d;
d := iif(d=100,255,100);
color(255,255,d);
For the inner cells and for the row total, format the field with:
whileprintingrecords;
numbervar c;
c := iif(c =255,100,255);
color(255,255,c)
}
thanks for any help.