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

Custom Report only showing one page

edited April 2009 in General
Hi,

I'm using Delphi 6 and Report Builder 7.04 for an old App I thought was long
gone, but alas.

So the report I am having a problem with is a custom report which has a
header, a footer and a detail.

All the data I am reporting on is being generated programmatically in the
Header band. This all worked fine until the information displaed needed
more than one page.

So my question is, how can I force the report to roll over to another page
if it needs to. Can I calculate and then test to see I need to
programmatically add a page break? I don't see a property to say roll over
to a new page if required anywhere.

Any help would be most gratefully received
Thanks in advance
Colin

Comments

  • edited April 2009
    Hi Colin,

    Is this report connected to a dataset of some sort or are you entering the
    data manually? By design, the pagination in ReportBuilder is data driven
    meaning a new detail band is generated for each record in a connected
    dataset until space runs out on a page in which case a new page is created.

    For a report that is not connected to any data you can try using a Group
    based on a custom field that is set to start a new page each time it breaks.

    ReportBuilder 9 introduced the PageBreak component that allows you to break
    to a new page when needed

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited April 2009
    Hi Nico,

    No it isn't connected to a DataSet, it's purely labels and shapes generated
    from sets of custom lists. I could try a group based ona custom field, but
    I have to say I like what ReportBuilder 9 provides, but would it work on
    Delphi 6?

    many thanks
    Colin
  • edited April 2009
    Hi Colin,

    Sorry I may have misled you a bit. I meant to say "starting" with RB 9, the
    PageBreak component was included.

    ReportBuilder 11 is the current version and also includes the PageBreak
    component. ReportBuilder 11 is compatible with Delphi 6.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited April 2009
    Hi Nico,

    Sorry I forgot to thank you for this.

    thanks and regards
    Colin
This discussion has been closed.