Club multiple reports in a Single report Dynamically


02-02-2010, 9:45 AM
Is there a way to club multiple reports in a Single report Dynamically say in one Pdf or RTF.

Re: Club multiple reports in a Single report Dynamically


02-02-2010, 1:17 PM
You can merge different reports and then export the merged report to PDF or RTF formats.

To know about merging you can check following walkthrough:
Merging Reports

Regards,
Ankit Nigam

Re: Club multiple reports in a Single report Dynamically


09-29-2010, 7:43 AM
I was wondering I have one report. I want it to open multiple time on same PDF based on user request.

I am using merge method to add static reports(rpt1,rpt2) but i want it dynamically((rpt1,rpt2)......rptn)!

Can I have some code

Please reply soon its urgent

Re: Club multiple reports in a Single report Dynamically


09-29-2010, 3:03 PM
Hello,

Which version of Active Reports do you have?
unfortunately, I am unable to understand your complete requirement. Are you looking to give the users an option to choose which report to merge together? Please explain the complete requirement so that we can help you with the same.
Also let us know if this is going to be a windows application or website?

Regards,
Aashish

Re: Club multiple reports in a Single report Dynamically


09-30-2010, 6:30 AM
Thank you very much for your reply. I figuered out the issue.

I have another issue:

We are using active report3.0 We are designing a report(Report.pdf) similar to attached SampleReport in VS 2008 in web application.
Actually we are facing some difficulties with designing the page layout(e.g. margins, print preview and after printing the report) similar to the attached sampleReport.pdf.
And also at the time of printing the new report, I am not able to get the exact preview as sampleReport.

If you could help us in this issue, will be really appreciate.

Below code I am using in .aspx page_load:
rpt.Document.Printer.PrinterName = ""
rpt.PageSettings.Orientation = PageOrientation.Default
rpt.PageSettings.Margins.Top = 0.2
rpt.PageSettings.Margins.Bottom = 0.2
rpt.PageSettings.Margins.Right = 0.022
rpt.PageSettings.Margins.Left = 0.18
'rpt.PageSettings.PaperHeight = 8.5
'rpt.PageSettings.PaperWidth = 11

Below code I am using in ReportEnd event:
Me.PageSettings.PaperKind = PaperKind.Custom
'Me.Document.Printer.DocumentName = "Sample Label"
Me.Document.Printer.PaperSize.RawKind = PaperKind.Custom
Me.Document.Printer.PaperSize.PaperName = ""
Me.Document.Printer.PaperSize.Height = Me.PageSettings.PaperHeight * 100
Me.Document.Printer.PaperSize.Width = Me.PageSettings.PaperWidth * 100

Note: Report has only ReportHeader and Detail section

Re: Club multiple reports in a Single report Dynamically


10-04-2010, 2:36 PM
Hello,

I see that you are setting the PaperSize property in ReportEnd event. You should  use this code in the ReportStart event to get the desired results.

Regards,
Aashish