Modify the Report Clone to Show Consolidated Product Sales
have mentioned, the FoodMart 2000 Sales report that we have cloned as RS007
contains a prompt to allow users to filter by Product Family.
the RS007 project in the Solution Explorer.
Existing Item, as shown in Illustration 8.
Existing Item - RS007 dialog appears.
the location of the RS007 report file created earlier.
Select the Report
File in the dialog.
Existing Item - RS007 dialog appears as depicted in Illustration 9,
with the targeted file.
Illustration 9: Add
Existing Item - RS007 Dialog
Click Open (or
double-click the selection) to close the dialog.
appears in the Reports folder of the RS007 project.
in the Reports folder.
as shown in Illustration 10, from the context menu that appears.
Illustration 10: Select
Open from the Context Menu ...
RS007 opens and
appears on the Layout tab of the Report Designer, as depicted in Illustration
Illustration 11: RS007
Appears in Report Designer - Layout Tab
Click the Preview
tab to execute the report.
and then returns data. We see, atop the Preview tab, the Product
Family parameter selector, as shown (expanded) in Illustration 12.
Illustration 12: RS007
Appears in Preview (Partial View) - with Parameter Selector Expanded
in the Product Family selector.
Click the View
Report button to execute the report.
appears, with different row items and values, as depicted in Illustration
13. The differing results are due to its being filtered, via the parameter
selection, on the Non-Consumable Product Family.
Illustration 13: RS007
Appears with Results Filtered for Non-Consumable Products