Printing 3 groups of info per A4 page?
Hi,
I have a requirement which I hope can be handled by ReportBuilder:
I need to print payslips where 3 payslips are printed per page. So 3 times
on a single page the group header info and footer info would be displayed,
with a maximum of about 6 detail lines per group.
For example, if I had six groups (employees) and each had 5 pay entries,
then 3 groups would be printed on the first page and the next 3 on the next
page. If an employee had 8 entries then the details would print on 2
payslips (6 detail lines on the first and 2 on the second).
The reason I need this is a client has pre-printed stationery, with 3
payslips per A4 page.
Where would I start? Any base examples of this sort of scenario?
Thanks
Alex
I have a requirement which I hope can be handled by ReportBuilder:
I need to print payslips where 3 payslips are printed per page. So 3 times
on a single page the group header info and footer info would be displayed,
with a maximum of about 6 detail lines per group.
For example, if I had six groups (employees) and each had 5 pay entries,
then 3 groups would be printed on the first page and the next 3 on the next
page. If an employee had 8 entries then the details would print on 2
payslips (6 detail lines on the first and 2 on the second).
The reason I need this is a client has pre-printed stationery, with 3
payslips per A4 page.
Where would I start? Any base examples of this sort of scenario?
Thanks
Alex
This discussion has been closed.
Comments
is an example of setting the group object's NewPage property to force group
X to start on a new page when other groups print sequentially down a page.
If you want to change pages halfway through a group, then after the detail
band prints, try calling the Detailband.OutOfSpace method to tell the report
engine that the detail band shouldn't print again on that page.
http://www.digital-metaphors.com/tips/SetNewPageDuringGroups.zip
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com