Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Crystal Reports Printing Multiple Copies

Posted on 2014-10-29
9
Medium Priority
?
1,493 Views
Last Modified: 2014-10-29
I have an Invoice in Sage300 that I want to print multiple Copies of as a default. It is a ODBC Report with Sub Reports in it.

AS I am printing directly from Sage300, I am not able to pass any Parameters, and need the report itself to produce 2-3 Copies
0
Comment
Question by:Jacques Smith
[X]
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
  • 5
  • 4
9 Comments
 
LVL 101

Expert Comment

by:mlmcc
ID: 40411811
There is nothing in the report that can be used to control the number of copies.

If the report doesn't have a subreport then you could use it a subreport in a new main report.
Basically you could put the report in as a subreport  in the report header and footer to have 2 copies.  To get more than 2 just add report headers and footers and add the subreport in again.

mlmcc
0
 

Author Comment

by:Jacques Smith
ID: 40411817
I am using Crystal Reports 2011
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 40411826
Version is not an issue.  To the best of my knowledge no version has the an option for copies.

mlmcc
0
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 

Author Comment

by:Jacques Smith
ID: 40411831
mlmcc
Unfortunately, the Sub-Reports need to be there.
Is there no way, that I can create another table in the Database, with 3 records numbered 1,2 and 3, and get it print while the numbers are not up to 3, or creating a memory variable
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 40411840
There is no way for Crystal to do anything like that.  Generally that is solved wither through the subreport method or through an application that prints the report N times or that can tell the printer to create N copies.

When the user prints do they get a printer dialog?
Can they specify the number of copies there in the printer dialog?

mlmcc
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 40411850
One idea I just had using your extra table would be to add it and cross join to you data table.  You would then get 3 copies of the data.  If you added a group on the new field you could get 3 copies that way.  

Just make sure the group header is suppressed and there is a NEW PAGE AFTER set on the group footer.

mlmcc
0
 

Author Comment

by:Jacques Smith
ID: 40411890
I did try that, but thought that maybe I am missing a trick.

I placed the "PageNo" field in the Report Header of the report, When you say "group on the new field ", could you go into a bit more detail Please.

The Report Header is suppressed, and there is a New Page after set on the Group footer
0
 
LVL 101

Accepted Solution

by:
mlmcc earned 2000 total points
ID: 40412009
WHen you add the "counting table" to the report you will have a new field available.  Group on it as the first group in the report.

mlmcc
0
 

Author Comment

by:Jacques Smith
ID: 40412026
Thank you Very Much, It works perfectly, my problem was not making it the first group in the report
0

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

688 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