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

Extra empty page by column use

edited October 2008 in General
Hello,
I have a report with a subreport at the end of a group that prints
data in 2 columns.
Report fills the columns from top to bottom (not left to right).

I have 2 questions:

1- Everytime there are enough data to have 2 columns I get an empty
page after the employee record. No matter how much room there still is
on the page, after the subreport is printed I get an empty page.
Even when I have 2 records, 2 left, one right, empty space, then empty
page.

When only 1 colum is printed on the left side everything is fine...
I've tried playing with the layout and group options, but I canno't
get rid of that empty page... Any idea?

2-When I use the group option "by group change = new column", I get 1
record left, one right, and then it starts on the left of a new page.
Is this the normal behavior? I was expecting it to get back to the
left on the actual page...

Thankx,

Chantal

Comments

  • edited October 2008
    Hi Chantal,

    Which version of ReportBuilder and Delphi are you currently using?

    1. Which band is the subreport located in? What type of subreport are you
    using? If possible, please send a small example demonstrating the issue to
    support@digital-metaphors.com in .zip format and I'll take a look at it for
    you.

    2. Yes this is functioning as designed. A column by definition in
    ReportBuilder spans an entire page.

    --
    Regards,

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

    Best Regards,

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

    We use report builder 10.08 and delphi 2007.

    The main report has 4 groups.
    Company - department - employee number - employee name.
    All of them have the option "new page by group change" turned on, all
    of them are supposed to reprint the heather on the next page.

    The subreport is a child report located in the footer of the employee
    number group.

    The subreport itself has one group, 2 columns, and the options "keep
    together, repeat heather on next page, repeat heather on next column".

    I don't know for sure if it has something to do with the subreport,
    but when I have a 30 pages report for example, with 3 different
    Companies in it, if the last page of the group ends with 2 items in
    the left column it goes goed, otherwise I get a totally empty page.
    Not even a group heather so that I could know where the problem is.

    All the groups have dynamic size, none of them is static.

    I can try to make a smaller example to send you but I don't have a
    database I can send so it's a little bit difficult...

    Chantal

    On Thu, 9 Oct 2008 09:54:41 -0600, "Nico Cizik \(Digital Metaphors\)"
  • edited October 2008

    You can use TClientDataSet to extract a small subset of data. TClientDataSet
    can save data locally - great for creating a stand alone example.




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

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited November 2016
    Nard Moseley (Digital Metaphors) hatte dann diese Idee :

    Maybe I have a similiar problem? What was the solution?

    --


    Hint: We altered the sources!Hint: We altered the sources!
  • edited November 2016
    Hi Carsten,

    The solution for the version of ReportBuilder used when this post was
    made likely does not apply to the latest version(s).

    Please create a simple example that demonstrates your issue using only
    RB and Delphi components and send it to support@digital-metaphors.com in
    .zip format so we can recreate it here. Please also include a simple
    description of the issue as well.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.