Problem with linked subreports

2 posts, 0 answers
  1. TechSavvySam
    TechSavvySam avatar
    38 posts
    Member since:
    Jul 2009

    Posted 20 Sep 2010 Link to this post

    version: Telerik_Reporting_Q2_2010_v4_1_10_714_dev.msi

    I have a master report that links to a subreport similarly to what is done in the video:


    BlahID: {Fields.BlahId}

         Parameter Name   Parameter Value
         BlahId           =Fields.BlahId


    Report Parameters
            BlahId Integer

    DataSource: odsBlahDetail (object data source)
        This object returns data from a table with a WHERE clause that contains:
                WHERE BlahId=@BlahId

    When I create the report without the subreport, everything works fine.  I get:

    BlahID: 18
    BlahID: 23
    BlahID: 45

    When I add the subreport in I get no report.  I ran some debugging and SQL profiler an determined that what is happening, is Telerik Reporting is in an infinite loop calling the subreport with the BlahID of 18 (the first one).

    From what I can tell, I've set up my report the same as the above video, but since you don't post the source code for these videos, I can't definitively determine if I have...
  2. Steve
    Steve avatar
    10941 posts

    Posted 22 Sep 2010 Link to this post

    Hello Sam,

    The information you've provided looks correct and we're unable to identify what is wrong without elaborating.
    The source for the video you've watched is part of our Telerik Trainer tutorials and its code is available on our site here: Telerik Reporting Trainer Tutorials.
    Additionally you can review the Creating Master-Detail Reports Using SubReports help article for step by step instructions on setting one to many relations i.e. master-detail report and see its implementation in action by opening our Visual Studio examples and navigate to the Invoice demo report.

    Best wishes,
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top