Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Headers

edited February 2003 in General
Hi all.

I have a report with a header that I want printed on _every_ page, and a
header that I want printed only on pages that detail lines get printed, not
on pages where only the summary gets printed.

How do I do this?

Thanks

Anthony.

Comments

  • edited February 2003
    Without knowing anymore about the data, I would suggest using separate
    regions in the header band on top of each other. Then toggle their visible
    property when you know you have detail data, or reached the end of the
    dataset (EOF) and the summary is printing.

    Another option is to use separate subreports. Set the PrintBehavior of each
    to pbSection. This will cause each subreport to print a separate header and
    footer band, as the section style subreport behaves more like an embedded
    report and has control over the entire page and none of the main report
    bands will print in the section style subreport pages. Use an empty main
    report and place the section style subreports in the main reports detail
    band. See the installed main reports demos #51-52 for an example of this
    technique.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited February 2003
    Thanks Jim, The region worked perfectly.

    Thanks!

    Anthony.


This discussion has been closed.