Solved

Reporting Services - change text color depending on value

Posted on 2006-06-15
3
2,117 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
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

863 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now