First of all thankyou to anyone who is able to offer any assistance!
I have created a report that prints out multiple invoices. Some basic rules are that when the invoices are being created they must not print onto the same page as a different invoice.
For example
Invoice 1 is three pages and invoice 2 is two pages. There has to be a page gap between invoice 1 and 2 otherwise the last page of invoice 1 and the first page of invoice two will print onto the same page. To resolve this issue I added a section into the group footer that forces a new blank page between the invoices if the last page of an invoice is an odd number.
This is the formulae I added into the New Page After Section:
pagenumber Mod 2=0
This generated a new issue in that an additional blank page was being printed after the very last invoice. To resolve this I added the a suppression to the same section I had the new page after section for the last record.
At this stage everything is working… except for my page numbers for the invoices. If I add a reset page number formulae it breaks the above onlastrecord formulae. Can anbody offer a soloution so that I can have the page number’s print correctly for the invoices and that the pages do not overlap onto the same piece of paper.
The problem I’m having now is that I can only do one of the two things, but I need to do both
Have pages print so that they do not print on the same page as another invoice
OR
Have the correct page numbers showing i.e page 1 of 2
To have the invoice display on the correct page I have add the following formuale into group footer 4f in the New page after section “pagenumber Mod 2=0”
To have the correct page number showing I click reset page number after in group footer 4e. However this stops group footer 4f function from working.