Expression to see "if data band will cause a page break"
Posted: Mon Jun 06, 2016 12:43 pm
Hello, I would like to know if it's possible to know (or predict) when the the results of a data band will spill over into a new page, and use this as a condition to show a text field and/or a line?
I have this setup, simplified:
-------------------
[HeaderBand]
[DataBand] with anything from 5-50 entries, 10 will fit on a page
[Line and/or text] I'd like this to show *only* if the Data Band above will spill over more than 1 page
[More content]
[Page footer] needs to be shown on each page.
-------------------------
Is there an expression I can use to enable/disable the [line or text] element if that specific data band will cause a page break?
I can't use "print on all but first pages" and similar properties.
Thanks for any assistance!
Regards
I have this setup, simplified:
-------------------
[HeaderBand]
[DataBand] with anything from 5-50 entries, 10 will fit on a page
[Line and/or text] I'd like this to show *only* if the Data Band above will spill over more than 1 page
[More content]
[Page footer] needs to be shown on each page.
-------------------------
Is there an expression I can use to enable/disable the [line or text] element if that specific data band will cause a page break?
I can't use "print on all but first pages" and similar properties.
Thanks for any assistance!
Regards