| A strange bug when using many tables [message #368378] |
Tue, 26 May 2009 15:57  |
Eclipse User |
|
|
|
I have a hierarchy of tables
Table1
Table2
Table3
Table4
Table5
Table6
This means Table1 contains Table2, Table 2 contains Table3, and so on.
Each table's parameters are bound to the former table.
Table4 and Table5 are parallel.
They are both in Table3's detail, but in different rows.
Everything is fine until I add Table6 into Table5.
After I add Table6 (in Table5's detail),
An automatic pagebreak happens between Table4 and Table5.
That is, Table 5 is on the next page, which is not what I want.
No matter I set their pagebreak to "auto" or "avoid," the pagebreak is
there.
This only happens when I use PDF-preview.
However, if I use HTML-preview, the pagebreak is not there.
Is anything wrong in my design? Or what can I do to avoid this?
Thank you.
Larry
|
|
|
| Re: A strange bug when using many tables [message #368397 is a reply to message #368378] |
Wed, 27 May 2009 12:55   |
Eclipse User |
|
|
|
Originally posted by: jasonweathersby.windstream.net
Larry,
Any chance you could create a report using the sample db to show the
problem?
Jason
Larry Li wrote:
> I have a hierarchy of tables
> Table1
> Table2
> Table3
> Table4
> Table5
> Table6
>
> This means Table1 contains Table2, Table 2 contains Table3, and so on.
> Each table's parameters are bound to the former table.
>
> Table4 and Table5 are parallel. They are both in Table3's detail, but in
> different rows.
>
> Everything is fine until I add Table6 into Table5.
> After I add Table6 (in Table5's detail),
> An automatic pagebreak happens between Table4 and Table5.
> That is, Table 5 is on the next page, which is not what I want.
> No matter I set their pagebreak to "auto" or "avoid," the pagebreak is
> there.
>
> This only happens when I use PDF-preview.
> However, if I use HTML-preview, the pagebreak is not there.
>
> Is anything wrong in my design? Or what can I do to avoid this?
> Thank you.
>
> Larry
>
>
|
|
|
|
|
|
|
| Re: A strange bug when using many tables [message #368413 is a reply to message #368402] |
Wed, 27 May 2009 18:08  |
Eclipse User |
|
|
|
Just an update about this problem.
I tested a little more.
If all rows in table LV3 can be fit in a single page, then LV2-2 won't
appear in the next page. On the other hand, if the data in LV3 are longer
than a page, then LV2-2's each row will be in a new page.
So, if I set a very small Page Break Interval, such as 1, then there won't
have this strange new page.
> First try to view this report in PDF:
> tabletest.rptdesign
> You see table LV1 contains table LV2-1 and LV2-2.
> In the PDF report, LV2-2 is right next to LV2-1.
> However, check tabletest-ex.rptdesign, in which I added table LV3 in table
> LV2-2.
> Now, each row of LV2-2 is also on a new page.
> Why?
> This does not happen in HTML report.
> Larry
|
|
|
Powered by
FUDForum. Page generated in 0.04948 seconds