Home Subreports

Sub report print order

edited September 2014 in Subreports
Hi

I have a complex report made up of several sub reports from templates as
well as some created in code. The particular issue I am having is with a
sub report created at run time which I want to appear at the end of the
report. The print behaviour is pbSection so I somehow need to set its
z-order but have not been able to see how to do this. Any advice
appreciated.

Paul Lowman

Comments

  • edited October 2014
    Hi Paul,

    Section subreports are meant to be used to combine multiple reports into
    a single report. When they are placed in the same band as other report
    components and (child) subreports, the output is rarely the desired one.

    My suggestion would be to create an empty main report with only a detail
    band containing two section subreports. The first subreport will
    contain your existing report and the second will contain your dynamic
    section subreport.

    If you are unable to do this, I suggest avoid section subreports and
    just using child subreports with the ShiftRelativeTo property to
    determine print order. If you need to force a new page, you can use the
    TppPageBreak component which also can ShiftRelativeTo.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.