• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 436
  • Last Modified:

Increase Number +1 when printing a document

Hello,
Curious: I have a report what has a lot number. Lot can be from 1-10.
Does Crystal Report have this function when I go to File --> Print, it will print this report 10 times.On next page it shold change the value +1.
e.g. if I want to print a report that has a lot size 5. I go to File --> Print -->  it should print 1-5, 2-5, 3-5, 4-5, 5-5. So basically 5 copies of this report, as you can see it increases the value +1 on next page. so if my report is 1 page, I should have 5 pages with different lot numbers

Have you guys seen this in past?

thanks
0
Palmer_Admin
Asked:
Palmer_Admin
1 Solution
 
mlmccCommented:
No.  There is no Crystal feature that will print the report x number of times and add paging as you desire.

That said you can print a report from an application and control how many copies but again not adding the page numbering.

Does your report have a subreport?
If not you could have a blank report that you insert into a shell report and control through a variable.  If there was a known maximum for the number of copies say N then
Create the empty main report
Add N extra detail sections
Insert the subreport N times
You can then use a shared variable to increment as the report is printed in the subreport
You can also use conditional suppression on each section to suppress as
{SubreportCount} > 5  on the fifth section

mlmcc
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now