When you create a link between the primary report and the subreport, they are linked together by a parameter field. Alternately, to create a linked subreport in Crystal Reports 2013, you must then click the “Link” tab in the “Insert Subreport” dialog box. You can later access the subreport object and change its caption using the “Format Editor.”Īt this point, to create an unlinked subreport in Crystal Reports 2013, click the “OK” button and then click into the report at the place where you want to display the subreport data. In addition, data from an “On-demand subreport” is not accessed from the database until the user double-clicks the subreport to display the detail data. On-demand subreports in Crystal Reports 2013 are displayed within their own object frame in the main report, which reduces the amount of display space required within the main report. At that point, the users can drill-down to display the subreport data on a separate “Preview” tab. You can also check the “On-demand subreport (similar to a hyperlink)” checkbox to create a subreport that does not display its data until the user double-clicks the subreport link. Then click the “Report Wizard…” button to launch the Report Wizard dialog box, which steps you through the creation of a standard report. If you want to create the subreport “on-the-fly” within the primary report, instead choose the latter option button. If you select the first option, click the “Browse…” button to invoke the “Open” dialog box where you can choose which report you want to embed as a subreport within the main report. In this dialog box, select how you want to create the subreport by using one of the two options displayed: “Choose an existing report” or “Create a subreport with the Report Wizard.” This will invoke the “Insert Subreport” dialog box. To create subreports in Crystal Reports 2013, select “Insert| Subreport…” from the Menu Bar or click the “Insert Subreport” button in the Insert toolbar. This could be used as another way of displaying the “one-to-many” type join between data in related tables. For example, if you create an “Orders” report, you can create a linked subreport that displays the “Order Details” for each record in the “Orders” table. In linked subreports in Crystal Reports 2013, the data in the subreport is matched to data in the primary report. The data is unrelated to each other in much the same way “unlinked” data in tables is unrelated. Unlinked subreports in Crystal Reports 2013 simply have no relationship between the records displayed in the subreport and the records displayed in the main report. You can create either linked or unlinked subreports in Crystal Reports 2013. Subreports in Crystal Reports 2013 allow you to access and display information from two unrelated reports in a single report, or display multiple views of report data in a single report. Subreports in Crystal Reports 2013 also cannot contain another subreport within them. Subreports in Crystal Reports 2013 are created in the same manner as normal reports, but are then embedded within a main report as a report object. Subreports in Crystal Reports 2013: Overview