Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Increase Number +1 when printing a document

Posted on 2011-02-16
1
425 Views
Last Modified: 2012-05-11
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
Comment
Question by:Palmer_Admin
1 Comment
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 34908301
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

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used.

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question