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

Section subreports and report wide headers and page numbering

edited February 2002 in General
I have been using a report with several pbChild (PrintBehaviour) subreports
to report a variety of information under the same page header and footer and
with continuous page numbering. Now I would like to make the subreports
pbSection so that I can vary the page orientation.

Is it possible to apply a report wide common page header, footer across
pbSection subreports without having to manually duplicate the controls onto
each subreport?

Similarly can page numbering with a total e.g. "page X of Y", be carried
across the report (not restart each section)?

Cheers

Sarah

Comments

  • edited February 2002
    The section type subreport is a fully nested report with its own pagination.
    Since, the page orientation is going to be different, you'll need to
    duplicate the header and footer inisde of the section subreport. However,
    you could use the dynamic subreport loading approach example to locate the
    controls in one place, and then load hte subreport into the different
    headers. See the installed
    ..\RBuilder\Demos\EndUser\DynamicSubreportLoading\


    Cheers,

    Jim Bennett
    Digital Metaphors

  • edited February 2002
    Thanks Jim, but unfortunately I don't seem to have the folder you suggest.
    I'm using v6.02 Std, do I need to upgrade to 6.03 or is dynamic subreport
    loading only an Enterprise edition feature?

    Cheers
    Sarah


  • edited February 2002
    The demo was intended as a solution for end user reporting, but I can
    provide you the subreport class which does all of the work. You'll have to
    create the subreport in code. Then the when the subreport generates, you'll
    want to configure the subreport object to load a file based report template
    of your choice.


    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.