CanBreak=false on DataBand does not work again
CanBreak=false on DataBand does not work again
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. Also report and XML file are attached.
What goes wrong?
P.S. WPF Report Creator is used.
Many thanks in advance.
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. Also report and XML file are attached.
What goes wrong?
P.S. WPF Report Creator is used.
Many thanks in advance.
- Attachments
-
- Report.png (23.61 KiB) Viewed 5014 times
-
- Posts: 6354
- Joined: Tue Mar 20, 2018 5:34 am
Re: CanBreak=false on DataBand does not work again
Hello,
Please send us a sample report with test data which reproduces the issue for analysis.
Thank you.
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
Hello,
I see, it got lost on first post - this is strange.
Now again.
Thank you.
I see, it got lost on first post - this is strange.
Now again.
Thank you.
- Attachments
-
- Report.mrt
- (229.94 KiB) Downloaded 295 times
Re: CanBreak=false on DataBand does not work again
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
Hello,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.
any ideas?
Report (mrt) and data (in zip file) are attached.
Thank you.
Re: CanBreak=false on DataBand does not work again
Hello,
Some bands you can split on several ChildBands and set GrowToHeight property for Text components.
Thank you.
Some bands you can split on several ChildBands and set GrowToHeight property for Text components.
Thank you.
- Attachments
-
- Annotation 2019-03-07 093114.jpg (341.69 KiB) Viewed 4981 times
Re: CanBreak=false on DataBand does not work again
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.
-
- Posts: 6354
- Joined: Tue Mar 20, 2018 5:34 am
Re: CanBreak=false on DataBand does not work again
Hello,
Please set UnlimitedHeight=false and Segment=1.
Thank you.
Please set UnlimitedHeight=false and Segment=1.
Thank you.
Re: CanBreak=false on DataBand does not work again
Thank you - now it works as it should ...but it is not funny to design if databands rearranges under the page end.Lech Kulikowski wrote: ↑Thu Mar 07, 2019 11:33 am Hello,
Please set UnlimitedHeight=false and Segment=1.
Thank you.
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!
-
- Posts: 6354
- Joined: Tue Mar 20, 2018 5:34 am
Re: CanBreak=false on DataBand does not work again
Hello,
> ..but it is not funny to design if databands rearranges under the page end.
Sorry, maybe we did not exactly understand your issue.
> ..but it is not funny to design if databands rearranges under the page end.
Sorry, maybe we did not exactly understand your issue.
- Attachments
-
- Annotation 2019-03-07 134458.jpg (281.73 KiB) Viewed 4971 times