Crystal Reports Online Training

Learn Online, Anytime, Anywhere

Step-by-step tutorials and online videos.

Click Here To Learn More »

9.04 Adding a Subreport

Adding a Subreport

Adding a subreport to a main report involves two steps: adding the report and setting the linking field. When adding the report you can choose to add an existing report or create a new report from scratch. If you create a new report from scratch, you will go through the Report Wizard to set its data source and specify the fields to print. After adding the subreport, you have the option of setting it to be an on-demand subreport. The on-demand subreport is displayed as a clickable link on the report and doesn’t open until the user clicks on the link.

The second step of adding a subreport is setting the linking field. You have three options for linking reports. You can link them by a data field, a formula, or even leave it unlinked. Each one of these options gives you different benefits. Let’s look at the details of adding the subreport next.

Subreports can only be one level deep. A subreport object can only be added to a main report and it can’t be added to another subreport. If you are editing an existing subreport, then the menu options Insert > Subreport are disabled.

To add a subreport...

Get UNLIMITED Crystal Reports Online Training!

Click Here To Start Your Training!

1500+ Tutorial Pages

Complete Crystal Reports Online Training with over 1,500 pages of better than book quality Crystal Reports tutorials.

Step-by-step Online Videos

Learn at your own pace from the comfort of your home! Pause, rewind and watch online training videos anytime!

Online Community

Members-only community where you can post and answer questions. The community is checked on a regular basis by best selling Crystal Reports book author Brian Bischof to help answer your questions.

Cut & Paste Source Code

Save time with simple cut and paste source code you can use right now in your next report!

Click Here To Start Your Training!