Solved

ssrs nested datasets in table

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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
how to solve "recursive" database tables 2 57
CASE Statement using different fields 8 33
SQL Percentage Formula 7 33
Sorting a SQL script 5 41
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

739 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