Hi,
Using asp.net in Visual Studio 2005.
I've got a report with 3 subreports, set to print in duplex.
The main report simply contains the page header, and the 3 subreports in 3 details sections.
I need each subreport to start on a new piece of paper, which I have managed to get working by looking at this:
http://www.crystalreportsbook.com/Forum/forum_posts.asp?TID=7339
and some trial & error got each subreport to start on a new piece of paper.
What I've done is on the mainreport header got the formula:
shared numbervar pageNo := pageNumber;
Then in the Section 1 (Report Header a) of the 2nd & 3rd subreport, for the New Page After:
shared numbervar pageNo;
pageNo mod 2 = 0
This works great as each subreport starts on a new piece of paper.
The problem I now have is that say subreport1 is 3 pages, page 4 (the
new inserted blank page) will have the page header on, and nothing
else.
The page header is in the main report.
How can I suppress the page header on these "blank" pages between the subreports?
Cheers,
Mike
Edited by bealem - 24 Feb 2010 at 5:36am