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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Background Colour

Status
Not open for further replies.

Rob2k2

Technical User
Oct 14, 2002
36
0
0
GB
I know this has been discussed somewhere before but I cant seem to find the post again.

What i need to do is alternate the background colour of the group footer in my report. i.e. if there are 10 items in the group then the background colour of the 1st, 3rd, 5th, 7th and 9th item would be grey.

I remember that you have to take a mod of the row number but I cant remember the syntax.

Can anyone help me out?
 
Hi

Apply following formula in "Edit - Section Expert" select
respective "Group Footer Section" and select "backcolor"
check box (toggle on this) and past this formula inside
the formula button.

if GroupNumber mod 2 <> 0 then
crGray
else
crWhite


A.Karthikeyan
System Analyst
Polaris Software Lab.
India.
(karthikeyan.a@polaris.co.in)
 
Thanks, thats exactly what I was after.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top