Databases Reference
In-Depth Information
Figure 5-11
Report Parameters
In addition to report parameters derived from data set parameters, you may add report parameters of
your own. These report parameters (that do not have corresponding query parameters) can be added to
support additional report functionality, such as hiding and showing report sections, page numbers, and
dynamic formatting.
The following example demonstrates some simple report parameters used to dynamically set values on
the report. Later we'll apply this technique to some practical report features. This example is intended to
demonstrate two very simple report parameters for academic purposes.
Create a new report without using the wizard. You can do this by selecting Add and then Add New Item
from the Solution Explorer's right-click menu; select Report from the report item templates in the Add
New Item dialog. Do not specify a data set for the new report, and then switch to the Layout view in the
report designer.
Report parameters are added using the Report Parameters dialog. Select the Report item in the Properties
window and click the ellipsis (...) button next to the ReportParameters property.
Search WWH ::




Custom Search