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

Problem with Column Traversal. (RB 12.01)

edited August 2010 in General
Hi,

I've just encountered a problem. It's a new report I'm designing so I can't
say if it's new to Version 12.

I have a simple report with a subreport (pbChild) on it. The subreport has 3
column (ctTopToBottom).

What happens is, when the first column of the subreport "overflow", it makes
the report's own "overflow" indicator to be turned on, making the report
print a (potentially) blank page.

The subreport is linked to a TppDBPipeline which is linked to a
TClientDataset.

If I turn the ColumnTraversal property to ctLeftToRight, the is no problem.

Here's an exemple:

Assuming a subreport with 3 column, each printing 5 elements each.


Elements To Print | Page Printed | Blank Page

0-5 | 1 |
No
6-10 | 2 |
Yes
11-15 | 2 |
Yes
16-20 | 2 |
No
21-25 | 3 |
Yes

etc.

Is it something I'm doing wrong or is it a bug with the version?

Oh... and I did reproduce it with a test report with nothing on it except
the subreport.

Here's my setup :

ReportBuilder 12.01
Delphi 2010
WinXP
Printer : InfoPrint 1130 (Probably irrelevant as the problem is there in the
print preview on screen)

Comments

  • edited August 2010
    Hi Ken,

    We have not seen this behavior before. If possible, please send a simple
    example (perhaps using the DBDEMOS database) that demonstrates this behavior
    and that I can run on my machine in .zip format to
    support@digital-metaphors.com and I'll take a look at it for you.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited August 2010

    Thanks for sending the example. I researched this. The solution is to remove
    the SummaryBand. It's presence is causing the additional page. The current
    implementation of the summary band always generates a new page when it is
    preceded by top to bottom columns. This happens regardless of whether the
    summary band has a zero height or visible false, I think this is because in
    the band BeforePrint event these properties could be modified.

    Improving the report engine so that the summary band can display on the same
    page as the top to bottom columns is an item we have on our requested
    feature list for future versions.


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



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.