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

Group Footer to alternate color

Status
Not open for further replies.

lanm

Programmer
Jul 7, 2005
244
US
I'm trying to get every other group footer to be a different color, and can't seem to get the distinctcount() function to work. I also tried the count() function, but that's always giving me 1.

Any suggestions are welcome!

Thanks!
 
I have a counter for the grouping, and the expression is:
=rownumber(Nothing)

This works, and it's in a textbox name textbox31.

I'm trying to get the value of the textbox for the background color expression, but can't seem to do it with: textbox31.value
 
Got it by simply adding this to the group footer background color property:

= iif (rownumber(Nothing) mod 2, "White", "Gainsboro")
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top