Solved

Access SubReport data from main report in Reporting Services

Posted on 2009-07-06
4
583 Views
Last Modified: 2012-05-07
I think the title says it all, i'm using version 2005
0
Comment
Question by:CurtinProp
[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
  • 2
4 Comments
 
LVL 37

Accepted Solution

by:
ValentinoV earned 500 total points
ID: 24784367
As far as I know there's no way to do this.  You can pass data via parameters to a subreport but not in the other direction.  If you need the same data in the main report, you'll need to repeat the dataset there...
0
 
LVL 2

Author Comment

by:CurtinProp
ID: 24791303
I want to parse just single values back to the sub report, so I can do some totaling.

subreport has 3 rows, but main reports has 1

e.g need to get total value from all 4

Possible?
0
 
LVL 37

Expert Comment

by:ValentinoV
ID: 24791866
If it's the subreport that should show the total of those 4 records you could pass the values from the main report to the subreport using parameters.  But, if it's only 4 records, why would you want to make it complicated?  Unless query performance is an issue, why not just create a dataset that fetches those 4 records at once?

More info on subreports and parameter usage: http://msdn.microsoft.com/en-us/library/ms160348.aspx
0
 
LVL 2

Author Closing Comment

by:CurtinProp
ID: 31600058
thanks mate
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
encrypt SQL Server 2008 port 1433 3 46
SQL Time out only from one specific computer client 15 52
SQL Server how to create a DYNAMIC TABLE? 11 50
SQL Lag Function DateDiff 2 26
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.
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
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 the fundamental information of how to create a table.

737 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