Solved

SSRS - Control visibility of subreports

Posted on 2010-09-15
5
646 Views
Last Modified: 2012-05-10
Based upon a field in the data source turn on/off a subreport
0
Comment
Question by:TWenger
  • 3
  • 2
5 Comments
 
LVL 11

Accepted Solution

by:
aelliso3 earned 500 total points
Comment Utility

In Subreport Properites -- > Visibility and select  Show or hide based on expression. Make the expression something like    

=Iif(Fields!Column1.Value = "123", True, False)
0
 

Author Comment

by:TWenger
Comment Utility
I have tried this and what ever I put in as 123 it does not recognize - always comes back false.... any other suggestions.
0
 
LVL 11

Expert Comment

by:aelliso3
Comment Utility
What's the data type of the field that you are using?
0
 

Author Comment

by:TWenger
Comment Utility
Tried textbox, Y/N, number
0
 
LVL 11

Expert Comment

by:aelliso3
Comment Utility
can you try this one:
=Iif(FIRST(Fields!Column1.Value) = "123", True, False)
If that doesn't do it, is there only one row returned from this datasource?
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

Suggested Solutions

Title # Comments Views Activity
SSRS - Select nth row of dataset 4 101
SSRS set number of in tablix 5 41
SSRS and SQL server 4 40
Report Builder 9 25
Written by Valentino Vranken. Introduction: In a previous article (http://www.experts-exchange.com/articles/Microsoft/Development/MS-SQL-Server/MS-SQL_Reporting/Reporting-On-Data-From-Stored-Procedures-part-1.html) I announced that I would writ…
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

744 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

13 Experts available now in Live!

Get 1:1 Help Now