Asked By
Jimmy A
20 points
N/A
Posted on - 08/22/2011
I am using Visual studio 2010 and i have installed SAP crystal reports.
I am using crystal report viewer to show reports, one type of reports at a time(which includes multiple pages).
Now the problem is i want to show multiple type reports(Don't confuse it with multiple page report) on a single crystal report Viewer.
I have tried alot- Google it, searching multiple forums etc, but failed.
Can anyone tell me how can i do this?
Thanks.
How to show Multiple Reports in Single Report Viewer
You could do one thing which will be efficient but quite not perfect.
The thing is you are using Visual studio 2010 with crystal reports. You could try creating multiple report headers.
Now you want to resize your headers and make sure that they occupy a single page.
Then, try creating your report in the page header. Resizing your headers won't help you always. You will have some type of issues from that front. So, sometimes ,they won't work.
Cheers.
Answered By
MRenz
0 points
N/A
#117523
How to show Multiple Reports in Single Report Viewer
Hi
It’s very easy to add multiple reports into a single report. In crystal report there is a special facility provided that is about inserting a section in any of the provided sections like, report header, page header, detail, report footer and page footer. Now, you need to view the details of your requirement, and finalize where you want to add the report. If you want to add a report or a finalized report into the page or report header, you need to insert it into header. And if you want to add a report or a finalized report into the page or report footer, you need to insert it into Footer. But if you want to insert it into the detail section, you will insert it into details but take it in your mind, that when you are adding a report into details, you will need to adjust the totals of original report, and for this you will need to make some extra efforts. After inserting section in the right path, you will add sub-report to that section and that’s it. By doing so, you can add one or more sub reports to your single Main report.
For inserting multiple reports into a single report, perform the steps given:
1: Open crystal report.
2: Click tab “Insert” and select “Section” from the given list.
3: “Section Expert” window will appear, select the report section where you want to add new section. And then press “Insert” button from the top of the window.
4: After that you need to insert “Sub-report”. For this select “Insert” from the main menu, then select “Sub-Report”, and then select desired report you want to insert and then press ok button.
5: now you can see your mouse cursor is having sub-report, and by clicking on the desired location, you can add it into the report.
Enjoy