Archive for the ‘Development’ Category

Crystal Reports XI – Alternate Row Color

Sunday, May 24th, 2009

Alternate Row Color in the Detail Section of your report

  1. Right click the “Details” section and select “Section Expert”
  2. Select the “Color” tab
  3. Select the “X-2″ button (formula button)
  4. Type the following:
    if RecordNumber mod 2 = 0 then crSilver else crNoColor
  5. Save and close

The row colors of your detail section will now alternate between Silver and NoColor. (more…)