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

Print the same Crystal report multiple times automatically

I have a report that is several pages and includes subreports.  If the customer address is not domestic, I need the report to print three times.  Because it has subreports, I cannot make it a subreport, as well, so that method will not work.  I appreciate any advice.
0
ginsburg7
Asked:
ginsburg7
1 Solution
 
peter57rCommented:
There is nothing you can do within CR itself.

You will need an external program of some sort to do this automatically.
That could be a VB program of your own or you might find a 3rd party report manager here:
http://www.kenhamady.com/bookmarks.html
0
 
mlmccCommented:
Agree.  You need an application to run the reports and control the printiing.

mlmcc
0
 
ginsburg7Author Commented:
Thank you both.
0
 
PCIIainCommented:
Alternatively, create a table in the database with a primary key of export type and a counter.

Export key of 'H' (Home), one row, counter 0.
Export key of 'E' (Export), three rows, counter 1,2,3.

You then link this table in to the main report and you get three groups for the same customer. Therefore three copies of the same section of the report.

Advantages are, you don't have to get/learn anything else. You can tell which copy you are printing from the counter field in the database, so the heading can be subtly different.
(Invoice, Duty Invoice, Export Document....)
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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