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

Multi page document

edited May 2003 in End User
Hi

I need to create a layout that has some data from a table on the first page,
then another 5 pages that contain ust static text inside individual
richtexts. I understand the best way is to use Subreports but not sure what
sections to put them in, whether to use static or dynamic heights etc.

Thanks

Andy

Comments

  • edited May 2003
    Create section style subreports- one for each page/rich text control.
    Section style will always begin printing on a new page. You should resize
    the detail band to be the page height and make it static height. That should
    do the trick.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited May 2003
    Hi Jim

    Should the first page be in the detail band and then all the sub reports in
    the same band. This works until I try and put a footer with some text, then
    it prints thousands of pages. I also tried putting the subreports in the
    summary to the same effect.

    I'm still working on it though these are first trials.

    Thanks

    Andy



  • edited May 2003
    Hi This is now working ok except for one thing, If the footer is added to
    the first page it only appears on the first page and not on each sub report.
    I assume we have to add it each report ?

    Thanks

    Andy


  • edited May 2003
    Yes, you'll have to add a footer to each subreport that is a section style
    subreport. Section subreports are special in that they take control of the
    page inside of a main report. They always start on a new page and have their
    own headers and footers.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited May 2003
    I suppose that rules any page numbering information then ?

    Thanks

    Andy


  • edited May 2003
    As soon as a footer is added to any page it just prints thousands of pages.

    Andy


  • edited May 2003
    Jim

    Have you or anyone at DM got a multi page sample rtm you can send, linked to
    the demos (advantage prefered).
    I only need data on the first page, then the rest is just richext over three
    pages.

    Thanks
    Andy


  • edited May 2003
    Set the subreport's datapipeline to nil. Then set the
    Subreport.Report.Autostop property to true. This will end you endless pages.

    No, page numbering CAN be reset, but only if Subreport.ResetPageNo is true:)

    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.