Merging Multiple Reports at Runtime - Crystal Reports.NET 
Author Message
 Merging Multiple Reports at Runtime - Crystal Reports.NET

Does anyone know of a good way to merge multiple reports at runtime?  I
basically have two situations I am trying to solve

1) Two separate report files, a summarized and detailed view, which need to
be printed separated occasionally, but more often than not are printed
together.  Since our printer now is printing banner pages, there is a banner
page between the two reports, because they are two separate jobs.  In an
effort to reduce wasted paper, we'd like to merge the two output jobs into
one job after the report is generated, and then send only the single job to
the printer.

2) We have another report (actually three individual reports) that we print
about 30-40 copies each month (with different data each printout), all at
the same time.  Again, because of the banner sheets we are printing before
each job, we would like to have this output as one single print job, and not
30-40 different jobs.

Does anyone know of a good way to do this?  I've thought about embedding the
final generated report inside a blank report at runtime, but I haven't seen
any way of doing this that I can get a demo of.  Does anyone have any other
suggestions for a good method for combining the output?

Thanks,

Ryan Gregg



Fri, 12 Aug 2005 23:59:40 GMT  
 Merging Multiple Reports at Runtime - Crystal Reports.NET
If the reports don't use subreports, then you can make a main report and
include the others as your subreports. To get the second report to print
multiple times you are going to have to force the data to repeat itself (use
a field that is a dummy counter and group by this value). I have information
about subreports in Chapter 13 of my free ebook.

A Crystal Reports.NET book for programmers? Its free!
* Covers ASP.NET and Windows Forms
* Teaches all phases of report development
* Alerts you to the bugs and how to get around them
* Maps out the complex ReportDocument object model
* Shows how to perform runtime customization
* Demonstrates all options of connecting with ADO.NET
* Gives complete code listings for every concept presented

www.CrystalReportsBook.com?cpgn=ngcr_022403

/Brian Bischof


Quote:
> Does anyone know of a good way to merge multiple reports at runtime?  I
> basically have two situations I am trying to solve

> 1) Two separate report files, a summarized and detailed view, which need
to
> be printed separated occasionally, but more often than not are printed
> together.  Since our printer now is printing banner pages, there is a
banner
> page between the two reports, because they are two separate jobs.  In an
> effort to reduce wasted paper, we'd like to merge the two output jobs into
> one job after the report is generated, and then send only the single job
to
> the printer.

> 2) We have another report (actually three individual reports) that we
print
> about 30-40 copies each month (with different data each printout), all at
> the same time.  Again, because of the banner sheets we are printing before
> each job, we would like to have this output as one single print job, and
not
> 30-40 different jobs.

> Does anyone know of a good way to do this?  I've thought about embedding
the
> final generated report inside a blank report at runtime, but I haven't
seen
> any way of doing this that I can get a demo of.  Does anyone have any
other
> suggestions for a good method for combining the output?

> Thanks,

> Ryan Gregg



Sat, 13 Aug 2005 00:06:16 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. VB.net and crystal reports.net Multiple reports

2. How to create Title of the Report at Runtime in Crystal Report .Net

3. Crystal Reports 8.5 (VB6) to Crystal Reports NET (VB.NET) conversion

4. Crystal Reports/SQL 2000 - Reporting from a Stored Procedure with multiple selects (for a sub-report)

5. Crystal Reports/SQL 2000 - Reporting from a Stored Procedure with multiple selects (for a sub-report)

6. Web Reports (ASP.NET and Crystal Reports for .Net)

7. Linking Crystal Report with a stored Procedure -- crystal report for visual studio.net

8. vb .net crystal reports not compatible with Crystal Reports 8.5

9. View Multiple Crystal Report as Single Report

10. Sending Reports (Crystal Reports Runtime) to other printers

11. Inserting a picture into a Crystal Reports report at runtime

12. q:Crystal reports multiple heading sections in one report

 

 
Powered by phpBB® Forum Software