Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Insert a blank page between groups

Status
Not open for further replies.

nicatt

Programmer
Apr 2, 2001
43
US
I have a multi-page report where the data is grouped. I also force 'keep groups together', repeat group header on each page', 'new page after group' and 'reset page number after'. When the report is printed, it prints on both sides of the paper. These reports can contain hundreds to thousands of records. When a group ends on an even number page (back), the next group will start on an odd number page(front) on a different sheet of paper and life is good. However, when a group ends on an odd number page (23) the next group will print on the subsequent page (24). This means that two different groups are on the same sheet of paper.

I have coded so that a blank page (a blank group footer) will print if @pagecount is an odd number. The result is a blank page after every group (with a header from that group) instead of only after groups ending on odd numberd pages. (I think it is getting confused by the blank page supression if @pagecount ends with an even number so with a blank page it becomes an odd number page)

Is there any way to insert a blank page ONLY if the last page of the groupby ends on an odd number page? Or can the M value of 'n of m' be used without using count?

I faxed Seagate the question last week but have not heard back from them.

Thanks
 
"I have a multi-page report where the data is grouped. I also force 'keep groups together', repeat group header on each page', 'new page after group' and 'reset page number after'. "

It is not clear to me where you are making these assignments. the "reset page" is interfering with your formulas I suspect.

not sure if you have tried this

divide the Group footer into the following:

Group footer A - here enter the data you want for the footer
- enable "new page after" for this section
- in the conditional "Reset PageNumber After"
put the formula:
pagenumber mod 2 = 0
This will reset the page number and split to a new page if the group ends on an even page number....

Group footer B - Place a very tiny thin blank text box in
this section....make the section as thin as
possible...the reason for this is that
crystal will "print" this field and
establish the page number.
- enable conditional "new page after"
for this section with the formula:
pagenumber mod 2 = 0
- in the conditional "Reset PageNumber After"
put the formula:
pagenumber mod 2 = 0

This will give a further page split if the new page is a even number and reset the pagenumber as well....but if the page number is odd...you will be left with a thin blank line at the top of the page.

this might work






Jim
JimBroadbent@Hotmail.com
 
Thank you for the suggestions. Unfortunately the result is much like I now have. I think I am going to have to live with it. :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top