Not understanding how to keep detail-band together...
Not understanding how to keep detail-band together...
Hi,
I have simple report with a detail-band that shall not be broken. If during rendering there is not enough space left on a page to completely print the band, then the whole band should move to the next page. I have tried setting different values for the property "Keep Details" but this didn't semm to change anything: See the attached report. I want to keep "DataBand3" together, which is placed on Panel whose Property "Can Break" is set to false. Thanks!
Cheers,
Pascal
I have simple report with a detail-band that shall not be broken. If during rendering there is not enough space left on a page to completely print the band, then the whole band should move to the next page. I have tried setting different values for the property "Keep Details" but this didn't semm to change anything: See the attached report. I want to keep "DataBand3" together, which is placed on Panel whose Property "Can Break" is set to false. Thanks!
Cheers,
Pascal
- Attachments
-
- Reiseangebot.mrt
- (38.64 KiB) Downloaded 492 times
Re: Not understanding how to keep detail-band together...
Hello.
Sorry for the delay with answer.
Please, try to set the Can Break property of the Panel1 and DataBand2 to true.
Thank you.
Sorry for the delay with answer.
Please, try to set the Can Break property of the Panel1 and DataBand2 to true.
Thank you.
Re: Not understanding how to keep detail-band together...
Hi Aleksey,
yes this works! Thank you very much!
But...
WHY does this work??? I thought that "CanBreak" would do exactly the opposite. From my understanding, "CanBreak" set to true would mean something like "I can break myself into parts and thus have my data on different pages" where "CanBreak" set to false would mean "Please don't break me into parts and please don't distribute my content on different pages"...
Is the name of the property misleading or did I not understand its purpose?
Cheers,
Pascal
yes this works! Thank you very much!
But...
WHY does this work??? I thought that "CanBreak" would do exactly the opposite. From my understanding, "CanBreak" set to true would mean something like "I can break myself into parts and thus have my data on different pages" where "CanBreak" set to false would mean "Please don't break me into parts and please don't distribute my content on different pages"...
Is the name of the property misleading or did I not understand its purpose?
Cheers,
Pascal
Re: Not understanding how to keep detail-band together...
Hello.
You have next inheritance of components:
DataBand2 - Panel1 - DataBand3 - Text10
All of these components has Can Brake property set to False. So none of them can be broken.
If any component with such property has size more then page it is broken exactly at the end of page.
We will make an analysis of this issue if it's possible to improve this algorithm.
Thank you.
Thank you.
You have next inheritance of components:
DataBand2 - Panel1 - DataBand3 - Text10
All of these components has Can Brake property set to False. So none of them can be broken.
If any component with such property has size more then page it is broken exactly at the end of page.
We will make an analysis of this issue if it's possible to improve this algorithm.
Thank you.
Thank you.
Re: Not understanding how to keep detail-band together...
Ok, got it now...
The property describes what it does.
Cheers,
Pascal

The property describes what it does.
Cheers,
Pascal
Re: Not understanding how to keep detail-band together...
Hello.
Good. Let us know if you have any additional question.
Thank you.
Good. Let us know if you have any additional question.
Thank you.
Re: Not understanding how to keep detail-band together...
Well it looks like I didn't understand how "can Break" works after all... I thought it worked, this is why I had told you so, bus I was wrong obviously.
I have set "Can Break" to true for all the components you named (DataBand2 - Panel1 - DataBand3 - Text10) but as you can see above DataBand3 is still separated and distributed on two pages: I have attached the report again. There's got be a way to have DataBand3 kept together. I need something like "keep together" for a DataBand in order to make sure all of a databands's content is always printed on the same page.
Any idea?
Cheers,
Pascal
I have set "Can Break" to true for all the components you named (DataBand2 - Panel1 - DataBand3 - Text10) but as you can see above DataBand3 is still separated and distributed on two pages: I have attached the report again. There's got be a way to have DataBand3 kept together. I need something like "keep together" for a DataBand in order to make sure all of a databands's content is always printed on the same page.
Any idea?
Cheers,
Pascal
- Attachments
-
- Reiseangebot.mrt
- (45.07 KiB) Downloaded 412 times
Re: Not understanding how to keep detail-band together...
Hello.
You shouldn't set the Can Break property to True of the DataBand3 and text components of it. Please, set Can Break property to False and each instance of Data Band will keep together.
Thank you.
You shouldn't set the Can Break property to True of the DataBand3 and text components of it. Please, set Can Break property to False and each instance of Data Band will keep together.
Thank you.