Add the Sample Report to the Project
add our clone report file, RS015.rdl, to the project, in a series of steps that closely mirror
those with which we added the data source above.
the Solution Explorer, right-click the Reports folder that
appears within the new RS015 project.
on the context menu that appears.
Existing Item from the cascading menu that appears next, as shown in Illustration
Illustration 11: Select
Add --> Add Existing Item
Existing Item - RS015 dialog appears.
the location of the RS015.rdl report file created earlier.
Select the Report
File in the dialog.
Existing Item - RS015 dialog, with the targeted file, appears as depicted
in Illustration 12.
Illustration 12: Add
Existing Item - RS015 Dialog
Click Open (or
double-click the selection) to close the dialog.
appears in the Reports folder of the RS015 project. Let's test
it for data source connectivity.
in the Reports folder.
as shown in Illustration 13, from the context menu that appears.
Illustration 13: Select
Open from the Context Menu ...
RS015 opens and
appears on the Layout tab of the Report Designer, as depicted in Illustration
Illustration 14: RS015
Appears in Report Designer - Layout Tab (Partial View)
Click the Preview
tab to execute the report.
and then returns data, based upon the default parameters provided atop the
report. We can thus rely upon the fact that we have established connectivity
with the data in the AdventureWorks2000 database. (We will not be
working with drillthrough and other functions within this report sample at
present. The report is only here as an example for limited use in the final
section of our practice session.)