January 4, 2010

Alternate row colors in Crystal Reports

STEPS:
After defining the databse objects in crystal reports,right click details section -> section expert -> details -> color -> backgroundcolor -> formula editor -> Add the formula as below :
IF RecordNumber mod 2 = 0 Then
crRed
Else
NoColor

After this you can see alternating rows as the color

2 comments:

  1. cool i liked this code i jus understood my name in it that all i lkied abt this code i apprititae

    ReplyDelete
  2. Wow..superb.. My problem solved.
    Thanks a lot. It's really helpful.

    ReplyDelete