Nested tables with different datasets not working!

Posted by: shaun on 11 April 2019, 4:08 pm EST

    • Post Options:
    • Link

    Posted 11 April 2019, 4:08 pm EST

    I have a simple RDL report with a nested table, the inner table has a different dataset to the outer, I have assigned the dataset the tables and doubled checked, but the inner table refuses to use the second dataset instead tries to use the outer tables instead.

    When debugging the second dataset is never requested!

    But if I move the nested table out to be a second primary table if you like then the second dataset is fired and data is displayed.

    Any ideas?

    Thanks in advance for any help.

  • Posted 12 April 2019, 2:28 am EST

    Hi,

    In order to create Nested Table with different Datasets, you need to use Filters or Parameters to pass the Data from outer table to inner Table.

    Information on how to add filters or Parameters in Nested Table is provided in the below link:

    http://help.grapecity.com/activereports/webhelp/AR13/webframe.html#NestedDataRegionsBoundtoDifferentData.html

    A sample has been attached here that shows the desired functionality.

    Hope that helps you.

    Thanks

    NestedRegionwithDifferentSources.zip

  • Posted 12 April 2019, 2:32 am EST

    Thanks for the response I have tried using filters as I use object provider for the datasets, the result is the same.

    I will have a look at your example and see if there are any differences in setup.

    Thanks

    Shaun

  • Posted 12 April 2019, 3:21 am EST

    The only difference between your example and my code I can see is that my datasource is an “Object Provider”

  • Posted 15 April 2019, 2:30 am EST

    Hello Shaun,

    I have created the sample for you with the “Object Provider”. Please refer to the attached sample.

    If the problem still occurs them, Could you please either modify the attached application or provide your own stripped down project so that I can try reproducing the same behavior at my end and assist you further accordingly?

    Thanks.

    RdlReportApplication7.zip

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels