Page 1 of 2
CanBreak=false on DataBand does not work again
Posted: Tue Mar 05, 2019 12:01 pm
by Alex74
Hello.
Many years ago I have created a lot of reports.
But now, ... maybe I'm forgotten how to do, or simply things goes changed, but I can't achieve what I want.
The requirement is very simple - the databand should not be breaked accros page.
So I setup CanBreak=false, but this has no effect at all.
Then I set AfterPageBreak=true - this was aslo not correct.
At least I set BeforePageBreak on previous DataBand - still no correct result.
The correct result should be report with 6 sites, two for each of 3 entries.
What I get is shown on screenshoot.
The attachment Report.png is no longer available
Also report and XML file are attached.
What goes wrong?
P.S. WPF Report Creator is used.
Many thanks in advance.
Re: CanBreak=false on DataBand does not work again
Posted: Tue Mar 05, 2019 12:36 pm
by Lech Kulikowski
Hello,
Please send us a sample report with test data which reproduces the issue for analysis.
Thank you.
Re: CanBreak=false on DataBand does not work again
Posted: Tue Mar 05, 2019 1:00 pm
by Alex74
Hello,
I see, it got lost on first post - this is strange.
Now again.
Thank you.
The attachment MainTest.xml is no longer available
The attachment MainTest.xml is no longer available
Re: CanBreak=false on DataBand does not work again
Posted: Tue Mar 05, 2019 1:03 pm
by Alex74
The XML-file is now in zip, I tried it 3 times, but this was not uploaded.
Re: CanBreak=false on DataBand does not work again
Posted: Wed Mar 06, 2019 8:36 am
by Alex74
Lech Kulikowski wrote: ↑Tue Mar 05, 2019 12:36 pm
Hello,
Please send us a sample report with test data which reproduces the issue for analysis.
Thank you.
Hello,
any ideas?
Report (mrt) and data (in zip file) are attached.
Thank you.
Re: CanBreak=false on DataBand does not work again
Posted: Thu Mar 07, 2019 8:34 am
by Alex K.
Hello,
Some bands you can split on several ChildBands and set GrowToHeight property for Text components.
Thank you.
Re: CanBreak=false on DataBand does not work again
Posted: Thu Mar 07, 2019 8:47 am
by Alex74
Alex K. wrote: ↑Thu Mar 07, 2019 8:34 am
Hello,
Some bands you can split on several ChildBands and set GrowToHeight property for Text components.
Thank you.
Hello,
But I've don't understand, how this should prevent a PageBreak inside a band - the are more bands now.
I've attached a screenshoot with a page break - this break should be avoided.
Why CanBreak=false does not work anymore?
Thank you.
Re: CanBreak=false on DataBand does not work again
Posted: Thu Mar 07, 2019 11:33 am
by Lech Kulikowski
Hello,
Please set UnlimitedHeight=false and Segment=1.
Thank you.
Re: CanBreak=false on DataBand does not work again
Posted: Thu Mar 07, 2019 11:51 am
by Alex74
Lech Kulikowski wrote: ↑Thu Mar 07, 2019 11:33 am
Hello,
Please set UnlimitedHeight=false and Segment=1.
Thank you.
Thank you - now it works as it should ...but it is not funny to design if databands rearranges under the page end.
Why you recommend to set UnlimitedHeight=true for such a case without implicitly say that it would be problematic in relation to CanBreak-settings?
Please also note, German Translation is wrong in my opinion:
Settings: "Seiten- und Spelntenumbruch"
"Vor der neuen Seite" - please replace with "Nach der neuen Seite" oder besser "Seitenumbruch davor"
"Nach der neuen Seite" - please replace with "Vor der neuen Seite" oder besser "Seitenumbruch danach"
Thank you!
Re: CanBreak=false on DataBand does not work again
Posted: Thu Mar 07, 2019 12:45 pm
by Lech Kulikowski
Hello,
> ..but it is not funny to design if databands rearranges under the page end.
Sorry, maybe we did not exactly understand your issue.