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

Colouring Alternative Backgrounds 1

Status
Not open for further replies.

cristle

Technical User
Jun 5, 2003
26
0
0
DE
I have successfully coloured alternate records in a Group Header.
using the following code on a text box,
if remainder(GroupNumber,2) = 0
then crBlue
else crWhite

However, this will not work where I use it in the detail section as some records are suppredded.

Any ideas how I can do this in the detail section, maybe using a counter.
Thanks

Cristle
 
One way would be to use a running total and set an evaluation formula so that it only counts when the suppression formula = false.

HTH

Gary Parker
MIS Data Analyst
Manchester, England
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top