?
Solved

ssrs subreport not viewing when running

Posted on 2014-03-11
8
Medium Priority
?
622 Views
Last Modified: 2014-03-17
I have a report with nested sub reports with nested sub reports.

When I view it, the inbetween report is skipped.

so Main > sub > sub2 only shows
main > sub2

No errors, I have no idea what is causing it.  Help would be appreciated.
0
Comment
Question by:UnderSeven
[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
  • 4
  • 3
8 Comments
 
LVL 37

Expert Comment

by:ValentinoV
ID: 39922739
I don't see how this is possible?  If you can see sub2, I would think you're seeing sub as well because sub2 is only contained in sub?  Perhaps you can use different background colors in each report to "debug" this?  If each report has a different background color you can easily see what part is coming from what report...
0
 

Author Comment

by:UnderSeven
ID: 39923426
A second look indicates that in fact sub 1 is showing, but just a small portion of it.  It's excluding everything above the nested subreports and everything below, but containing everything that happens in sub one around nested sub 2.
0
 

Author Comment

by:UnderSeven
ID: 39923447
It's excluding the header and footer from the subreport 1.  How do I include this?
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

 

Author Comment

by:UnderSeven
ID: 39923477
You led me to the answer which is the header and footer was not displaying because in ssrs it never will.
0
 
LVL 37

Accepted Solution

by:
ValentinoV earned 2000 total points
ID: 39923486
It's excluding the header and footer from the subreport 1.  How do I include this?

That's by design: subreports will never render report header/footer.  Only the report body gets rendered.  So if you need the info from the header/footer you'll have to implement it differently: either in the main report or in the subreport but without using the report header/footer.

Official doc:

Headers and footers that are defined in the original RDL file are not rendered when the report is rendered as a subreport.
Ref Understanding Rendering Behaviors
0
 

Author Closing Comment

by:UnderSeven
ID: 39932532
Thanks for the additional explanation.  The reference document was also helpful.
0
 
LVL 37

Expert Comment

by:ValentinoV
ID: 39933668
Glad to hear, I was typing it while you closed off the question :)
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone 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

In this short article I will be talking about two functions in the SQL Server Reporting Services (SSRS) function stack.  Those functions are IIF() and Switch().  And I'll be showing you how easy it is to add an Else part to the Switch function. 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…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

771 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