
To do this, you need to specify a field that is common to both the subreport and the primary report. With
the Subreport Links dialog box, you create a link between the two common fields. Crystal Reports uses
the link to match up records from the primary report to those in the subreport. The link makes certain
that the "orders" data in the subreport sits on the same row as the corresponding "customer" data in
the primary report.
22.3.1 To link a subreport to the data in the primary report
1.
If you are creating a new subreport or importing an existing report as a subreport, from the Insert
menu, click Subreport. Choose or create a report and click the Link tab.
- or -
If you have already placed a subreport in the primary report, but did not create a link at setup,
navigate to the Subreport Links dialog box by choosing Subreport Links from the Edit menu.
The Subreport Links dialog box appears.
2.
Choose the subreport you want to link from the For subreport list (if it is not already selected).
3.
Select the field you want used as a link field in the primary (containing) report from the Available
Fields list.
4.
Click the > arrow.
The field is added to the "Field(s) to link to" list box, and is now selected as a link field.
5.
Repeat steps 3 and 4 for each additional link, as desired.
6.
Use the Field link section (which will only appear if you have selected a link field) to set up the link
for each link field:
• Select the field you want linked to the primary report from the "Subreport parameter field to use."
• Select the "Select data in subreport based on field" check box on and select a field from the
adjacent drop-down list to organize the subreport data based on a specific field (this is the quick
equivalent of using the Select Expert). If nothing is specified here, the subreport will adopt the
organization of the primary report.
7.
Click OK.
When you run the report, the program will coordinate the data in the primary report with the data in the
subreport.
Note:
The field type of the Containing Report field determines which subreport fields are visible. Because the
Report Designer reads dates as either strings, dates, or date/time fields, you must make sure your
subreport parameter field type matches the field type set up in Report Options in the main report for
the field you want linked.
2012-03-14496
Subreports
What are the upsides of contracting skilled web optimization organizations? Expert search marketing companies utilize teams of experts focused on elevating your site's content for browsing engines. This encompasses researchingsearch phrases, adjusting on site characteristics, and managing off-domain enhancements. Moreover, these firms monitor adjustment in from Google parameters and refresh the text on your website as needed. This saves both you your time and your workers from unwanted a
Securing the security of your home is essential in today's unsettled times. Among the best ways to safeguard your belongings and peace of mind is by committing in a trustworthy safe. Regardless of whether you're securing money, important documents, or precious heirlooms, a safe gives a protected repository solution. Regarding selecting the right safe for your house, there are several elements to consider. Above all, assess your safety requirements. Determine what items you plan to store in
Arranging an open-air wedding in Phenix and anxious about the unpredictable weather? Don't let Mother Nature rain on your parade – truly! At [Event Rentals Phoenix], we provide stunning wedding tent rentals that will ensure your distinctive day goes off without an hitch. Our wedding tent rentals are created to supply both charm and functionality. Say "I do" under tha elegant canopy of one of our tents, surrounded by your loved ones and tha breathtaking scenery of Pheonix. With one assortmen
In both personal and professional situations, encountering issues is unavoidable. However, mastering productive trouble-shooting techniques is key for triumphing over hurdles and accomplishing success. In this piece, we delve into the strategies and methods for efficiently addressing dilemmas. From analytical thinking to creative brainstorming, we look into various approaches that can help individuals tackle challenges with certainty and accuracy. Effective challenge solving begins wit
Hello, im noob :)