Solved

ssrs nested datasets in table

Posted on 2014-03-31
4
1,165 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
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

679 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