Solved

ssrs nested datasets in table

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

How to increase the row limit in Jasper Server.
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

810 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