Subreport To A New Report
Here we will create a Subreport within a new report. To create a subreport first, create a blank report. Go to File -> New -> Blank Report.
![1](https://www.csharp.com/UploadFile/Tutorial/dbeniwal321/9/images/20161222054042/11.jpg)
Click ‘Insert Subreport’ tab. If we click on this tab, we will see a dialog box on our screen.
![2](https://www.csharp.com/UploadFile/Tutorial/dbeniwal321/9/images/20161222054042/12.jpg)
Now, click ‘choose an existing report’ option and click ‘Browse’. Select any one report, which you want to insert in our report.
![3](https://www.csharp.com/UploadFile/Tutorial/dbeniwal321/9/images/20161222054042/13.jpg)
Drag the report name on the ‘Design’ page of the report.
![4](https://www.csharp.com/UploadFile/Tutorial/dbeniwal321/9/images/20161222054042/14.jpg)
Repeat this process again for adding the second report in the same report. Select ‘Choose an existing report’ and click ‘Browse’ to choose the report name.
![5](https://www.csharp.com/UploadFile/Tutorial/dbeniwal321/9/images/20161222054042/15.jpg)
Similarly, drag the second report name on the ‘Design’ Page of the new report.
![6](https://www.csharp.com/UploadFile/Tutorial/dbeniwal321/9/images/20161222054042/16.jpg)
After completing all the process, shown above, we can see both report names on the blank report.
![7](https://www.csharp.com/UploadFile/Tutorial/dbeniwal321/9/images/20161222054042/17.jpg)
Now, go to Preview page of the report and we can see the output of both the reports into the single report.
![8](https://www.csharp.com/UploadFile/Tutorial/dbeniwal321/9/images/20161222054042/18.jpg)
Summary
Thus, we learnt, what is the use of subreport in Crystal Report.
![1](https://www.csharp.com/UploadFile/Tutorial/dbeniwal321/9/images/20161222054042/11.jpg)
Click ‘Insert Subreport’ tab. If we click on this tab, we will see a dialog box on our screen.
![2](https://www.csharp.com/UploadFile/Tutorial/dbeniwal321/9/images/20161222054042/12.jpg)
Now, click ‘choose an existing report’ option and click ‘Browse’. Select any one report, which you want to insert in our report.
![3](https://www.csharp.com/UploadFile/Tutorial/dbeniwal321/9/images/20161222054042/13.jpg)
Drag the report name on the ‘Design’ page of the report.
![4](https://www.csharp.com/UploadFile/Tutorial/dbeniwal321/9/images/20161222054042/14.jpg)
Repeat this process again for adding the second report in the same report. Select ‘Choose an existing report’ and click ‘Browse’ to choose the report name.
![5](https://www.csharp.com/UploadFile/Tutorial/dbeniwal321/9/images/20161222054042/15.jpg)
Similarly, drag the second report name on the ‘Design’ Page of the new report.
![6](https://www.csharp.com/UploadFile/Tutorial/dbeniwal321/9/images/20161222054042/16.jpg)
After completing all the process, shown above, we can see both report names on the blank report.
![7](https://www.csharp.com/UploadFile/Tutorial/dbeniwal321/9/images/20161222054042/17.jpg)
Now, go to Preview page of the report and we can see the output of both the reports into the single report.
![8](https://www.csharp.com/UploadFile/Tutorial/dbeniwal321/9/images/20161222054042/18.jpg)
Summary
Thus, we learnt, what is the use of subreport in Crystal Report.