Solved

ssrs nested datasets in table

Posted on 2014-03-31
4
1,210 Views
Last Modified: 2014-04-07
I have a report with a dataset in a table.  I have another dataset that this report uses, currently with a subreport in the data set passing a statement number value to the dataset.  The problem is if the subreport data goes from one page to the next it will not attempt to split it rather it will not show on the first page and only display when it thinks it can manage the entire thing in a single page.  What I need to make it do is the sub dataset (currently in a subreport) to always show on the first page and break onto a second if it has to.
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
  • 2
4 Comments
 
LVL 27

Assisted Solution

by:planocz
planocz earned 200 total points
ID: 39969318
First of all a sub report is just  a standalone report. So you need to work on getting that to run right.
Then add it to the main report and  only pass the parameter that you need from the main report to the subreport for it to run correctly.
Also you can  place a page break in the subreport whenever  you need it.
0
 
LVL 22

Accepted Solution

by:
Nico Bontenbal earned 300 total points
ID: 39971438
Check the KeepTogether property of the subreport and/or the group. I've read in a forum post I'm not allowed to link to there was a problem with this property in 2008 that has been solved in 2008R2.
See also the section "Keeping Report Items Together on a Single Page" on this page:
http://technet.microsoft.com/en-us/library/dd255248.aspx

If this doesn't help please provide us with more information about your report. Maybe even upload the design of your report (or a similar report that has this behavior).
0
 

Author Closing Comment

by:UnderSeven
ID: 39982051
Keep together was important but also the subreport specifically had the keep together checked.  Additionally the properties (NOT the right click menu, but control w, p) hid the properties I needed to set.
0
 
LVL 22

Expert Comment

by:Nico Bontenbal
ID: 39982372
Glad to hear you could solve your problem. Thanks for the feedback also. It's important to understand there are many more properties in SSRS then the ones in the right click menu. Definitely something I should keep in mind when answering questions.
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

635 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