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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

print on new sheet of paper, not new page 1

Status
Not open for further replies.

PAULCALLAGHAN

Technical User
Joined
Sep 4, 2001
Messages
165
Location
CA
I'm using crystal reports version 8.5 and would like to modify the output of a double-sided report that is working fine.

Background: The report resets the page numbering for each grouping, which is based on a parameter(s) from the user.

For example, if the user selects on 4 distinct parameter values then the report will print at least 4 pages, where each page will say page 1 of x, where x is the total number of pages for that group/parameter. I would like to keep this feature.

My challenge now is to start the output of each group/parameter on a new sheet of paper. Can someone please help me with this approach?

We are in the process of installing/using crystal reports version XI, if that makes a difference.

 
A bit unclear to me.

You say that it's double-sided, then you say that each group is on a new piece of paper. Which is it?

If you are saying that each group might take up 2 pages, but you always want a new piece of paper for each group, then track where you are on each group using the pagenuber:

remainder(pagenumber,2) = 0

Now use both the new page before and new page after, as in:

new page before on the group header:
{table.group} <> previous({table.group})
and
remainder(pagenumber,2) <> 0
// new group, and on an odd page, we'll need 2 pages

New page after on the group footer:
{table.group} <> next({table.group})
and
remainder(pagenumber,2) <> 0

Perhaps I misunderstand you, but this should help.

-k
 
You can try to insert in the Page Footer the Special Field "Group Number" instead of "Page N of M". Just also set a Text Object with the word "Page".

May be it can work.

Salu2
()|\/|@®
 
Hi my problem is similar to this and I have gone through your solutions. One things was not clear to by 3 formula method u mean to say to create 3 different formulas and then place those formulas in Group Header , Detail and Group footer accordingly.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top