SSRS hide Subreport if duplicate

Posted on 2013-06-14
Medium Priority
Last Modified: 2013-07-03
1. I have a sub-report nested within a 2 layer group. Is it possible to hid the subreport if it was already printed fora previous group value?

2. Would it be possible to drop a Public variable to the sub report with the grouped field value and use it to check if it was already populated hide?
Question by:sweetbuttercup
LVL 27

Accepted Solution

planocz earned 2000 total points
ID: 39250169
You pass the it in as parameter on the main to the sub-reports.

Subreports are just standalone reports that can be attached to the main report.

Run the sub reports by themselves until the right data is being product. then add it to the main report.
You should not need to recheck a report if you have it setup right.

Author Closing Comment

ID: 39296874
The description from planocz is basically how to use a sub-report. I was asking for problematically display/hide the sub report. But the explanation is valid.

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.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
This shares a stored procedure to retrieve permissions for a given user on the current database or across all databases on a server.
SQL Database Recovery Software repairs the MDF & NDF Files, corrupted due to hardware related issues or software related errors. Provides preview of recovered database objects and allows saving in either MSSQL, CSV, HTML or XLS format. Ensures recov…
Stellar Phoenix SQL Database Repair software easily fixes the suspect mode issue of SQL Server database. It is a simple process to bring the database from suspect mode to normal mode. Check out the video and fix the SQL database suspect mode problem.

607 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