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

Printing a Subreport before the header

edited October 2003 in Subreports
Hi,
I tried to print a subreport (section) in the Title band and I saw that I
can not print more then one page (the title page was printed with part of
the subreport),
then I tried to print the SubReport in the header band, first, the header of
that subreport is not printed (go figure), second, it prints everytime that
the header band is printed and this is not what I want, I tried to print it
only once but with no luck,
tried to put in the OnPrint event a Visible := FALSE in the case that the
PageNo is bigger then 3 (I know that it prints only on the second page, this
is a hack but I have no other way!!!) and in this case it is stuck in a loop
...

I need help as this is impossible, something is wrong here...

Erik

Comments

  • edited October 2003
    Hi Erik,

    Try creating a group around a static label in your report with "Reprint
    Header on subsequent pages" turned off. Placing the subreport inside the
    group header should work fine for your needs. You can disable the Title and
    Header bands if you need as well and set the Group FooterBand's Visibility
    to False.

    --
    Best Regards,

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