Link to home
Start Free TrialLog in
Avatar of kamalnegi
kamalnegi

asked on

Page Breaks if group details span more than one page

Hi All,

    I have a report developed in Crystal Report 10.0. It is basically used to print Invoices.

Normally my invoices run into two pages( 1st page for the item details and the 2nd page for the instructions). I use a duplex printer so that the invoice gets printed in a single page. (back and forth).

But now i have run into a problem. Some of the invoices contain item details which take more than one page to print (they run into two pages). Due to this insctruction gets printed on the 3rd page.

The problem here is i am printing invoices in bulk. So if my first invoice runs into 3 pages, the next invoice now starts from page 4 and since i am using duplex printing mode it prints on the backside of the instruction page of the first invoice.

Is there any way i could print a blank page after any invoice if it runs into more than 2 pages.

Hope i have made myself clear.

This thing is driving me crazy.
Any help would be appreciated.


TIA,
kamal.
ASKER CERTIFIED SOLUTION
Avatar of GJParker
GJParker
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kamalnegi
kamalnegi

ASKER


Thanks Gary,

But i have figured it out myself.
This is what i have done

I have created a 2nd details section (height could be anything) and then added the the following supression formula to check if the page is odd or even

PageNumber mod 2 =1

The only other thing to note here is that i have to check the "New Page Before" and the "New Page After" on this section to work.(otherwise it doesn't work)

Regards,
Kamal
Yes it's teh same principle.

Gary
The answer I provided is identical to the resolution and is such is a valid answer to the problem.

Gary