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!

Alternating colours 2

Status
Not open for further replies.

gogopoppy

Instructor
Mar 6, 2005
114
CA
Hi there,

I'm trying to alternate colurs on the background of the details section but can't quite figure out how to do this. I think it might be sometihing to do with odd and even records.

Any help wold be greatly appreciated.

Tx

G
 
Yes, you can create a running total that will count the records in Details section.
Then in Section Expert, for Details section, Color tab > x + 2:
Code:
if Remainder({#RTotal0}, 2) = 0 then white else red

-------------------------------------------------------------------------------------------------------------------------
"Now I can look at you in peace; I don't eat you any more." Franz Kafka, while admiring fish in an aquarium
 
In the section expert click the color tab on the right top corner and in the formula field insert something like
Code:
if Remainder (recordnumber, 2) = 1 then 
    yellow
else
    white
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top