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

Page Break on Contract

edited August 2002 in General
I'm creating a contract that is two pages long. Is there a way to force a
page break in the detail band and have what follows start at the top of the
next page?

I have the RBAddOn components that has a page break, but it seems to have
what follows not start at the top of the next page, but positions it down
low on the page. The shapes above it are reprinted on the next page.

I can do what I want by just spacing down it seems, but I keep having to
guess where the page will break.

Any suggestions or tips? I just want to do what a word processor does with
a ctrl-return, which breaks the page and has what comes next be at the top
of the next page.

David Miller

Comments

  • edited August 2002
    I'm not from Reportbuilder but what I usually do is define a group
    based on a custom field and just start a new page on a group.



  • edited August 2002
    Since you only have one detail band, you haev a couple of options. One is
    to use two region components and set their KeepTogether property to true so
    that the second one goes to the next page in order to keep itself together.
    Or, you can use two subreports in the detail band. The first subreport in
    the detail band shoudl be child type and will print the first page. The
    second subreport will print the second page. You can use section style
    subreports to print on the next apge, or you can use the child type
    subreport (Subreport.PrintBehavior property) to print on a new page by
    setting its Titleband.NewPage property. Do you want to reprint the group
    header/page header on the second page?


    Cheers,

    Jim Bennett
    Digital Metaphors

  • edited August 2002

  • edited August 2002
    Thanks Bruce. I was setting up a small test project for you and got to
    messing around with the settings more. I already had tried setting the
    shift relative property as per your instructions in the help file, but to no
    avail. There was another step that I needed to do. The trick was to set
    the shift relative for the Page Break component itself to the shape object
    right above it. Then it worked as desired. Otherwise, the shape was
    reprinting on the next page and what followed the Page Break was printing
    below the shape, which as at the bottom of the page, because the shape was a
    border around most of the page.

    I really like your add on components. They are an extremely important
    addition to ReportBuilder for me. I got my $25 worth out of it long ago. I
    use the Rich Text merge ability more than anything else. It sure makes
    setting up contracts, receipts, etc. much easier. I don't know how I would
    have gotten along without them. They also give my end user more component
    options when they use the Report Designer because of your enhanced
    properties page. Thanks again for a great inexpensive addition to
    ReportBuilder.

    David Miller.

  • edited August 2002
    I'm glad you sorted your problem. Thanks for the plug :).

    ------------------------------------
    Bruce Roberts
    Roberts Browne Limited
    RBAddOn Components for Report Builder
    http://www.bancoems.com/rbaddon.htm
This discussion has been closed.