Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Alternate row color for details section using css Post Reply Post New Topic
Author Message
niranjana
Newbie
Newbie


Joined: 21 Nov 2007
Online Status: Offline
Posts: 15
Quote niranjana Replybullet Topic: Alternate row color for details section using css
    Posted: 20 Oct 2008 at 5:32am
hi,
how can we assign alternate row color in detail section using CSS ?
 
thanks in advance
 
niranjana
IP IP Logged
keval300
Newbie
Newbie
Avatar

Joined: 18 Jul 2008
Location: India
Online Status: Offline
Posts: 24
Quote keval300 Replybullet Posted: 21 Oct 2008 at 9:05am

you cant do it in crystal 8.5 to version 10.

 

Enjoy...
IP IP Logged
keval300
Newbie
Newbie
Avatar

Joined: 18 Jul 2008
Location: India
Online Status: Offline
Posts: 24
Quote keval300 Replybullet Posted: 21 Oct 2008 at 9:25am

You can try it This way.

First create an running total or formula which increments by 1 when placed in detail section,Finnaly which will give you the Count of Total Records.

If there are 4 records in Detail section .
If you have placed that formula Say "Count" in detail section,Then
 
In Detail Section it displays like
 
    1
    2
    3
    4
 
 
so this will be your output.
Now you want to color it Alternately
 
To fullfill your requirement , you will have to
 
go to "Select Expert" or "Format Section" by rightClick on the section head.
Click Detail Section
Now Click on "Color" Tab on right.
Make Check to the BackGround Color
click on X-2 and Insert this formula
Remainder ({@Count},2)
 
Then save it and Run the report.
 
You will get your alternate colored report.
Enjoy Crystal Reports.
 
Regards
Keval Raj
Enjoy...
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.016 seconds.