Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8695

How to merge two crystal reports into one in Delphi using TCrpe?

$
0
0

I am absolutely new to Delphi and Crystal Reports. I figured that I can export a crystal report to pdf like this:

      crpe.Clear;
    crpe.ReportName := 'BasicInfo.rpt';
    crpe.ParamFields[0].CurrentValue := '0';
    crpe.Output := toExport;
    crpe.ExportOptions.Destination := toApplication;
    crpe.ExportOptions.FileName:='C:\CoverSheet.pdf';
    crpe.ExportOptions.FileType:=AdobeAcrobatPDF;
    crpe.Export;
   

(Although this is working, please let me know if I am doing it wrong )

My main problem here is: I have two .rpts "BasicInfo.rpt" and "Details.rpt" and I need to create one pdf out of them in Delphi.

Is there any way to merge two .rpts and export it into one pdf in Delphi?


Viewing all articles
Browse latest Browse all 8695

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>