Cascading parameters are used when a list of values in one parameter depends on the value selected for the other parameter. So you have two parameters, where one parameter alters the data source used to list data values for another parameter.
For instance, if you want to select a Product from a list of products that belong to the selected Category, then you need to do the following:
select * from categories
select * from products where categoryid = prmCategory
select * from [order details] where productid = prmProduct
prmCategory | prmProduct | |
Data Source | dsCategory | dsProduct |
Label | CategoryName | ProductName |
Value | CategoryID | ProductID |
On selecting a category, a list of products available in that category are displayed in the other parameter. You can then select the product and then click Apply Parameters. Here, we have displayed data in Aniseed Syrup product that falls in the Condiments category.