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

Repeat N pages?

Status
Not open for further replies.

cheyney

Programmer
Jul 16, 2002
335
CA
Hi, i am a beginner with crystal reports 8.5

What I need to do is this: repeat my report page N times, where N is a number input parameter. I need to print the current page number on each page (i.e. 1 of N, 2 of N, etc..)

Any help would be greatly appreciated.

Cheyney
 
Does this mean you want to replicate each page N (parameter value) times, and show each page number of N?

You can print multiple copies of a report, but I don't know how you'd replicate each page of a report without having as many subreports as the max N might be to handle this.

You can display a page number using the Pagenumber function, and you can create a parameter to prompt for a value, and then display it.

Perhaps if you flesh out the requirements someone can better help.

-k kai@informeddatadecisions.com
 
I figured out a not-so-hot way of doing this.

I have a table in a database with one int column, with values 1-10000. I then just do a select from that table where the intvalue is less than or equal to my input parameter. Then I repeat the whole page for on that recordset value.

works fine.

cheyney
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top