We help IT Professionals succeed at work.
Get Started

Set detail section alternating background color of report based on field value

caltrans asked
Last Modified: 2012-08-13
I have a multiple use report that I want to distinquish the data in the detail section based on a field value that specifies the type of report.  In other words, in the Report Header, I have a field called description with a conditional statement so that if the description value is "Soil", then the field has a brown background color.  If the description value is "Water", the field background color is blue.  I was able to carry the color over to the detail section as a background color with some simple coding, but I haven't figured out how to change the row colors to alternate.  So if the description field value is "Soil", then the rows in the detail section might alternate between  light brown and light orange background colors.  Hopefully that makes sense.
Watch Question
This problem has been solved!
Unlock 2 Answers and 6 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE