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

Shading on Alternate Rows 2

Status
Not open for further replies.

jemsmom

IS-IT--Management
May 31, 2005
43
US
I'm trying to alternate gray and white row shading in a summary report in a group footer row. I've used the following steps in the detail row of previous reports, but it does not work in the group footer. There is not an alternating pattern, its appears random. Does anyone have any other ways to accomplish alternate shading?

1. Select the Section Expert toolbar button to open the Section Expert window.
2. Select the Details section and click on the Color tab. Check the Background Color checkbox and select the X+2 button (conditional formatting).
3. Enter the following formula in the formula window:
iif(Remainder (RecordNumber,2)<>0,crSilver,crWhite)




 
The GroupFooter rule should be based on the Remainder of the GROUPNUMBER - not the RECORDNUMBER.

RECORDNUMBER only works in the detail section.
 
Thank you. That solved the problem!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top