Subreport truncated

Posted by: chakrdeep on 4 August 2017, 2:37 pm EST

  • Posted 4 August 2017, 2:37 pm EST

    I am using VB 6.0 with Active Reports 2.0. I have a main report and have 3 subreports (one embedded in the other) in the following format:
    Main Report
    In Detail Section
        -> Subreport 1
             In  Detail Section
                     -> Subreport 2
                         In Detail Section
                                -> Subreport 3

    In the Subreport 3 if there are records starting from one page and continuing on the next page, there are only 2 records being displayed on the new page. The rest of the records get truncated.

    In each of the Subreport's Detail_Format() method, I create the child subreport in this manner:

    Set subReport.object = New arSubReport
    If recordSet.RecordCount > 0 Then
        subReport.Visible = True
    Else
        subReport.Visible = False
        subReport.object = Nothing
    End If

    I have set the CanGrow property on all the Detail sections and subreports to be True but that didn't help.

    Can anyone please suggest where I am faltering. Thanks a lot.

  • Replied 4 August 2017, 2:37 pm EST

    What build are you using?  I believe we did have an issue like this in old builds.  If you do see this with the current build (1275), please attach a running sample that reproduces this issue so that we can correct it.  Build 1275 is available here:
    http://www.datadynamics.com/ShowForum.aspx?ForumID=37
Need extra support?

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

Learn More

Forum Channels