
220
LESSON 24 Parameterizing Your rePorts
FIGURE 247
TRY IT
In this Try It you will alter the matrix report from the previous lesson to use parameters. You will
also give these parameters a list of available values and default values.
Lesson Requirements
In this lesson you will create a report that uses a matrix which uses parameters and default values.
You will need the AdventureWorks2008R2 database. This database is free from
www.codeplex.com.
You will also need to know the name of your SQL Server R2 instance. If it is your default instance
you can use LocalHost as the server name. You will also need the matrix report from the previous
lesson.
The download for this lesson, available at www.wrox.com, includes the queries
you need for this Try It.
Hints
Make a copy of the matrix report.
Do not use a shared dataset for this report.
Alter the queries to use parameters.
889633c24.indd 220 8/17/10 10:42:03 AM