Featured Database Articles

Each
of the three Product Family selections gives us a results set filtered
for its members. The Marketing team has asked for a "consolidated view,"
where all products appear on a single report. Elimination of the parameter in
place will be a simple way to get to this first objective, and to pave the way
for the cascading parameters that we will construct next.

12.
Click the Layout
tabto return to the Layout view.

13.
Select Report
--> Parameters from the main menu atop the Report
Designer, as shown in Illustration 14.

Illustration 14: Select Report
--> Parameters from the Main Menu

The Report
Parameters dialog, where we define parameters for the report, appears, as
depicted in Illustration 15.

Illustration 15: The
Report Parameters Dialog

We
will get plenty of exposure to this dialog later in our session and throughout
the MSSQL
Server 2000 Reporting Services series in general. Our objective
at this point is to remove the existing parameter, and to consolidate the
product families thereby.

14.
In the Parameters
list, on the left side of the dialog, click the single entry, ProductFamily,
to select it.

15.
Click the Remove
button underneath the Parameters list.

The ProductFamily
parameter is removed from the list.

16.
Click OK to
accept our removal of the parameter.

The
now empty Report Parameters dialog closes, and we are returned to the Layout
view of the report. We now have only to delete a reference to the parameter
we have removed, which we can access via the Properties page of the
matrix.

17.
Click at some
point within the label textbox of the report (containing the label FoodMart
Sales), to make the row and column headers of the matrix data region
visible.

18.
Right-click
the upper left corner of the matrix. (If the headers disappear as you touch
them with the cursor, you should still see a faint outline of the matrix.)

19.
Select Properties
from the context menu that appears, as shown in Illustration 16.

Illustration 16: Accessing
the Matrix Properties

The Matrix
Properties dialog opens, defaulted to the General tab.

20.
Click the Filters
tab.

21.
Click the Value
field of the single occupied row to select it.

22.
Click the Delete
button to delete the reference to the parameter, as indicated in Illustration
17.

Illustration 17: Select
and Delete the Parameter Reference

The remaining
reference to the now-deleted parameter is itself deleted. All that remains to
tailor the report template to the Marketing department's specifications is to
remove the Store Cost and Store Profit columns.