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

How can i add page? my report contains many pages, but i don't know how to add pages

edited June 2003 in Component Writing
How can i add page? my report contains many pages, but i don't know how to
add pages

Comments

  • edited June 2003
    I need the result, Could you give me the result?

    Thanks!


  • edited June 2003
    Where do you want the page? The easiest way to insert page somewhere in the
    report is to use a subreport which has its print behavior property set to
    pbSection. Copy the header and footer from the main report into the section
    subreport's header and footer bands. Then make sure no pipeline is connected
    and that the Subreport.Report.Autostop property is set to true. Then resize
    the detail band to the height of the page and you will be able to have the
    "new page" in the report in which you can place any controls you want to
    show.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited June 2003
    I need the function which is the same as the "add page" in the "fast
    report " .
    I could design the report in the second and third and other pages , then i
    preview, i will see the report which i designed!
    I've tried your way!
    But still have some error!
    first: The "ppSystemVariable1" couldn't desplay the pages correctly!
    second: I need to design in the second page and third page, then i preview,
    i will see the report of the second page which i design report in the
    second page .
    To realizate this function, i need to set what parameter and how to do it?

    Thanks!

  • edited June 2003
    There is no "function" to generate a new page, as RB generates pages as it
    need them to print detail bands based on the records in the data pipeline.
    If you want to design a page based report, then you should use the main
    report as a driver, which only has section style subreports in it. See the
    main report demo project for reports #51 and 52 for an example of this
    technique. These two demo reports also show different ways to configure the
    page numbering to reset if you would like it to or not for the subset pages.


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.