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

A page for each record

edited July 2007 in General
Hi,

I'm trying to produce a report which spits out an entire page for each
record in the main data source.

Now I could either do this by putting everything on the page into the
detail band or I could force the title/header/footer bands to print on
every page.

If I do the former, how do I force it to start a new page for each row
of the source data.

Is the latter even possible?

Any help appreciated, rather stuck atm.

Toby.

Comments

  • edited July 2007

    - A Report traverses the datapipeline to which it is attached and generates
    a detail band for each record.

    - most common approach to printing a page for each detail band is to set the
    detail band height to be large enough so that only one detail band can fit
    on a page.

    - Another technique would be to put a PageBreak component at the bottom of a
    detail band.

    - if what you really want to do is generate a distinct one page report for
    each record in the datapipeline, you could create a main report and remove
    the header/footer so that you have only a detailband. Place a subreport in
    the detail band and set subreport.PrintBehavior to pbSection. Connect the
    main report to the datapipeline and leave the subreport.datapipeline
    unassigned. Now the main report will generate a detail band for each record.
    Each detail band will cause a section subreport to print. A section can have
    its own title band, header, footer, etc.



    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.