Solved

SSRS - Control visibility of subreports

Posted on 2010-09-15
5
653 Views
Last Modified: 2012-05-10
Based upon a field in the data source turn on/off a subreport
0
Comment
Question by:TWenger
[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
  • 2
5 Comments
 
LVL 11

Accepted Solution

by:
aelliso3 earned 500 total points
ID: 33684587

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
ID: 33754506
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
ID: 33754601
What's the data type of the field that you are using?
0
 

Author Comment

by:TWenger
ID: 33756392
Tried textbox, Y/N, number
0
 
LVL 11

Expert Comment

by:aelliso3
ID: 33756498
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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

Steps to solve SSRS SQL 2008 R2 User Access Control (UAC) Permission Error With the introduction of SQL Server 2008 R2 and Vista (Windows 7 as well) came new enhanced security features. One of the features included was User Access Control (UAC) t…
Hi, I have heard from my friends that it’s not possible to create Label Printing report using SSRS. I am amazed after hearing this words not possible in SSRS. I googled lot and found that it is possible to some of people know about the Report Bui…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

756 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