This is a migrated thread and some comments may be shown as answers.

How do I set up Reports using the Master Detail pattern

1 Answer 647 Views
Report Designer (standalone)
This is a migrated thread and some comments may be shown as answers.
Ben
Top achievements
Rank 1
Ben asked on 30 Sep 2014, 06:12 AM
the following link provides a basic idea of how to set up but I've had limited success translating the Visual studio Example into a telerik standalone report designer example. 
http://www.telerik.com/help/reporting/designing-reports-master-detail.html 

It seems like there are basically 3 reports involved. Master,Detail, and SubReport. I'm confused how the master report comes into play. It Seems to me that the I really should only need the Detail and SubReport. The instructions to building the master report just say to create a query. but the other two are more linked together. I've tried linking the reports using the files and adding edit parameters but nothing seems to be passed back and forth. I've attached images with my basic set up for queries. if I break the link between these reports and test without passing the parameter they both work fine.

I originally had the filter on my detail report set like in the example but when I set the filter I no longer get a list of data.

My goal is to have a list of items with some precalculated values that I can that drill into each item of the list as desired. drilling down I can then take the values passed in and filter down to a more detailed view. Unfortunately, I'm having a hard time setting up passing the report parameters from the detail to the sub report.

Any Help would be greatly appreciated!




1 Answer, 1 is accepted

Sort by
0
Accepted
Stef
Telerik team
answered on 02 Oct 2014, 03:37 PM
Hello Ben,

The difference between the scenario described in the How to: Create a Master-Detail Report Using a SubReport Item article and your case is that you will use TRDX files, and UriReportSource correspondingly.

The way you pass values between the master and sub reports is correct. If the sub report data must be filtered based on the report parameter, please double-check if you have set the filter expression properly on the right data item.


If you need any further help, feel free to open a support ticket and send us the report files, including test data to check the settings.

Regards,
Stef
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Report Designer (standalone)
Asked by
Ben
Top achievements
Rank 1
Answers by
Stef
Telerik team
Share this question
or