Use page break without blank page at end

  • Thread starter Thread starter Diarmuid
  • Start date Start date
D

Diarmuid

I have a report which lists employees and the shifts they worked. I want
each employee on their own page, as this page will be given to the employees
each week with their payslip.
If I put a page break in the group footer, it causes a blank page at the
end. And a page break is invisible, so I can't even hide it in code if I
know I'm on the last page.
Is there a way around this?
Thanks
Diarmuid
 
Could you use the report "Sorting/Grouping" to GroupBy Employee, include a
Group Footer, and set Force New Page in the Group Footer to something like
"after"?
 
Diarmuid said:
I have a report which lists employees and the shifts they worked. I want
each employee on their own page, as this page will be given to the employees
each week with their payslip.
If I put a page break in the group footer, it causes a blank page at the
end. And a page break is invisible, so I can't even hide it in code if I
know I'm on the last page.


You can set the Visible property of a Page Break control to
disable/enable it.

But I would use a section's ForceNewPage property instead.
 
Back
Top