Force a page break if not all columns fits on a page
Force a page break if not all columns fits on a page
Hello Stimulsoft support,
is it possible in a report to force a page break if not all columns (text components) of a databand fits on a page? I want do define a databand with text but sometimes the last text component does not fit into the databand so it needs a greater width than it should have (i.e. the sum of width of all text components is greater then the page width minus margins left and right )?
So is it possible to print that "column" onto the next page and than continue with the rest of table on the next but one page?
Thanks and regards
Thorsten Pontow
is it possible in a report to force a page break if not all columns (text components) of a databand fits on a page? I want do define a databand with text but sometimes the last text component does not fit into the databand so it needs a greater width than it should have (i.e. the sum of width of all text components is greater then the page width minus margins left and right )?
So is it possible to print that "column" onto the next page and than continue with the rest of table on the next but one page?
Thanks and regards
Thorsten Pontow
Thorsten Pontow
It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)
It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)
Re: Force a page break if not all columns fits on a page
Hello, Thorsten.
Did you try to use Segment per Width property of the page?
Thank you.
Did you try to use Segment per Width property of the page?
Thank you.
Re: Force a page break if not all columns fits on a page
No, i haven't. I will try and let you know what happened
Thank you
Thank you
Thorsten Pontow
It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)
It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)
Re: Force a page break if not all columns fits on a page
Hello.
OK. Let us know if you need additional help.
Thank you.
OK. Let us know if you need additional help.
Thank you.
Re: Force a page break if not all columns fits on a page
Hello Aleksey,
thank you! The property
works for me...
Regards
Thorsten Pontow
thank you! The property
Code: Select all
SegmentPerWidth
Regards
Thorsten Pontow
Thorsten Pontow
It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)
It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)
Re: Force a page break if not all columns fits on a page
Hello.
Let us know if you need additional help.
Thank you.
Let us know if you need additional help.
Thank you.
Re: Force a page break if not all columns fits on a page
Hello,
i understand that when using i got one virtual page that has double width as originally given from the page format setting and all data bands and header and footer bands are streched over that virtual page.
But is it somehow possible to show my footer and header text components on every page (i.e. Page 1 and Page 2 of the segmented page)? That would be a big help for me . Otherwise i have to duplicate my header and footer components and place them by myself
Thanks and regards
Thorsten Pontow
i understand that when using
Code: Select all
SegmentPerWidth = 2
But is it somehow possible to show my footer and header text components on every page (i.e. Page 1 and Page 2 of the segmented page)? That would be a big help for me . Otherwise i have to duplicate my header and footer components and place them by myself
Thanks and regards
Thorsten Pontow
Thorsten Pontow
It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)
It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)
Re: Force a page break if not all columns fits on a page
Hello, Thorsten.
There could be different situations. We can't change this behavior now.
You could use the solution in the attached report template to repeat components.
Thank you.
There could be different situations. We can't change this behavior now.
You could use the solution in the attached report template to repeat components.
Thank you.
- Attachments
-
- UnlimitedWidthWithPageHeadersAndFooters.mrt
- (26.47 KiB) Downloaded 226 times
Re: Force a page break if not all columns fits on a page
Hello Aleksey,
when using SegmentPerWidth > 1 i got one "virtual" page which spans over many "real" pages in Export or Print. Now i'd like to have a text component on every "real" page which an expression which gives me the real page number even it is one virtual page at all.
Is that possible???
For example: SegmentPerWidth > 2, place two text components on that one virtual page so that one of the componets is placed on every page while printing and showing the page number (1 of 2 / 2 of 2).
Kind regards
Thorsten Pontow
when using SegmentPerWidth > 1 i got one "virtual" page which spans over many "real" pages in Export or Print. Now i'd like to have a text component on every "real" page which an expression which gives me the real page number even it is one virtual page at all.
Is that possible???
For example: SegmentPerWidth > 2, place two text components on that one virtual page so that one of the componets is placed on every page while printing and showing the page number (1 of 2 / 2 of 2).
Kind regards
Thorsten Pontow
Thorsten Pontow
It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)
It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)
Re: Force a page break if not all columns fits on a page
Find attached a screenshot of a rendered report with sample data to illustrate the use of PageNofM expression while using SegmentPerWidth.
- Attachments
-
- Using PageNofM together with SegmentPerWidth
- PageNofM_WithSegmentPerWidth.png (95.61 KiB) Viewed 4889 times
Thorsten Pontow
It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)
It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)