Solved

Reporting Services - change text color depending on value

Posted on 2006-06-15
3
2,148 Views
Last Modified: 2008-02-01
This seems like it should be extremely easy to do.

I have a report that just lists quantity and description of a product.

If the quantity is 10 or less, I want the quantity field to display in red, otherwise black.

Where do I put this when creating a report using SQL Server Reporting Services.

Thanks.
0
Comment
Question by:LATurk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 20

Accepted Solution

by:
Sirees earned 250 total points
ID: 16912322
0
 
LVL 11

Expert Comment

by:Ved Prakash Agrawal
ID: 16912398
you need to use expression of color property of textBox.

and apply following expression at there
=IIF(quantity <=10,red,black)

you can apply this ysntax everywhere in report.
e.g. in detail section where this type of thing mostly used or page header , page footer....etc.


but for u r situation should be in detail section.

expression can be used for most of the property.


cheers!!!!!!!!!!!!!!
0
 

Author Comment

by:LATurk
ID: 16912461
Thank You.  I could not figure out where to put the statement at.
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question