Solved

I want to give a text box values based on the value a field. How would i do so?

Posted on 2015-01-13
3
74 Views
Last Modified: 2015-01-13
For example if Field!PONumber  contains a c i want it to show one set of text otherwise i want it to show other text
0
Comment
Question by:vbnetcoder
3 Comments
 
LVL 24

Expert Comment

by:Phillip Burton
ID: 40546565
=IIf(InStr(Field!PONumber.Value, "c") > 0, "Yes","No")
0
 
LVL 15

Accepted Solution

by:
Haris Djulic earned 500 total points
ID: 40546569
HI,

where is this textbox? if you are bulding SQL for report you can use CASE function like this

Select ( case when Field!PONumber like '%c%' then 'TEXT' else 'TEXT2' end) as textbox_text

Open in new window

0
 

Author Closing Comment

by:vbnetcoder
ID: 40547470
ty
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

After much searching across the internet I have found that you could not set the name of the file you were attaching to dynamic report subscriptons in Microsoft Reporting Services. I did manage to find one article showing you how your could make a s…
It is helpful to note: This is a cosmetic update and is not required, but should help your reports look better for your boss.  This issue has manifested itself in SSRS version 3.0 is where I have seen this behavior in.  And this behavior is only see…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

707 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

17 Experts available now in Live!

Get 1:1 Help Now