?
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
Medium Priority
?
86 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
[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 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 2000 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A recent question popped up and the discussion heated up regarding updating a COMMENTS (TXT) field in a table using SSRS. http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/MS-SQL_Reporting/Q_27475269.html?cid=1572#a37227028 (htt…
A recent questions about how to add SSRS named instances, couldn't find any that talks about SQL server 2008, anyway I decided to help by creating some screen shots. The installation is straightforward, you just pop the SQL server 2008 installati…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month13 days, 23 hours left to enroll

801 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