El 02/03/18 a les 10:47, Maxime Richez ha escrit:
> Does anyone knows a define a conditional page break inside a report ?
> We need to print a page as a "big label" and if i select multiple records,
> each record should fill exactly one page. And if i print only one record, i
> don't want an empty blank page after the printed page.
> Same problem with the purchases:
> If i try to print multiple purchases, there is no page break and all the
> selected purchases are printed following each other
> Thanks for help !
We have some custom modules that need the same behaviour and we
implemented it by surrounding the page break with the following if
if test="records and record != records[-1]"
This will add a page break for all pages except the last one.
Hope it helps.
Sergi Almacellas Abellana
You received this message because you are subscribed to the Google Groups
To view this discussion on the web visit