Parameters bring in interactivity to reports. In the previous chapter, we discussed how a new parameter can be added to a dataset through a query. There can be scenarios where we may have wanted to have a parameter that is not linked to dataset but needed it for the purpose of reporting. These parameters are referred to as unbound parameters. In this and the following recipe, we will discuss how to add a parameter and how to use it in the report. The How it works section of this recipe should also help you understand reports in more depth.
In this recipe, we will add two parameters, one of type Boolean and the other String type. The following recipe will show how they will be put to use.