If you have ever wanted to alternate the rows in a Crystal Report but didn’t know how to do so here is an example. Just paste this code into the Background Color using the Section Expert for the details section.
If int(RecordNumber/1)/2 = int(int(RecordNumber/1)/2) then
Color (203, 255, 151)
Else
crWhite
The results will look like this.
