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

How to print first page 400 times with having page 1 of 400

Status
Not open for further replies.

ndp

Programmer
Mar 3, 2003
121
US
Hi
I have a 25 pages report. I want to print the first page 400 times. rest of the 24 pages will be printed once. I have to save the report in pdf. I need to put some formula to get the page 1 of 400, page 2 of 400,.... on my report header so that while it is printing the first page, I can see the page numbers. I already have page N of M for the other pages in page footer.
Is there any way to set the counter variable that can increment by 1 while it is printing the first page of the report? Any advise would be great help!

Thanks,
ndp
 
Crystal won't allow you to print the 1st page 400 times and the rest just once, unless you do this through external code.

You might be able to cheat this by making the last 24 pages of the report a subreport, fill a table with whatever data the first page has with 400 bits of the data, and then use a suppress on the subreport except when onlastrecord.

-k
 
What is on the first page?
Is this one page per record or group?
If, for example, the first page is the first record, you could link this to a table with 400 records which would force it to repeat 400 times. Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Expert's Guide to Formulas / Guide to Crystal in VB
- tek@kenhamady.com
 
I can not do like that, because the first page has summary info plus some of the records. The only thing I can do is write some external code to set the counter each time to print the page number. Can any body suggest a vb script which will print this first page 400 times and set the counter in report each time a page gets printed!

Thank you in advance
ndp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top