Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Alternate Grey Row Shading in Detail Section 3

Status
Not open for further replies.

makk07

Programmer
Aug 22, 2007
24
US
HI Everyone,

I would like to have an alternate grey row shading in my detail section to make the data easier to read.

I am using crystal XI, please help me out.

Thanks in advance
mak
 
Right-click on the section and choose Section Expert. Choose the Colour tab.
Code:
 If Remainder({#MyCount}, 2) = 0 
then crGrey
else crNoColor

[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
From the left side of the report and click on Section Expert.

On the detail section, click on the color tab, then click on the x-2 button and enter the following formula

if remainder(RecordNumber,2) = 0 then
color(230,230,230)
else
nocolor

The color I use is a lighter shade of gray or you can use CrGray

-lw
 
Go to detail section expert

In right hand pane click color tab

Paste this in formula button

If remainder(recordnumber,2) = 0 then crsilver

Ian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top