How do I set up Reports using the Master Detail pattern

2 posts, 1 answers
  1. Ben
    Ben avatar
    6 posts
    Member since:
    Sep 2014

    Posted 30 Sep 2014 Link to this post

    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!




  2. Answer
    Stef
    Admin
    Stef avatar
    3036 posts

    Posted 02 Oct 2014 Link to this post

    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.

     
  3. DevCraft banner
Back to Top