Databases Reference
In-Depth Information
As you see in Figure 5-12, the ReportTitle parameter is a string value with the default set to Report Title.
The TextColor parameter is similar and has a default value set to Blue.
Figure 5-12
Drag two text box items from the Toolbox window onto the body of the report in the report designer.
Normally it's a good idea to give items an appropriate name (especially if they are to be referenced in
an expression), but this isn't necessary in this simple example.
Set two properties for these text boxes: the Value property for each text box and the Color property of
the second text box, according to the following instructions. The designer displays the value property
in the text boxes, but it's a good idea to change these property values in the standard properties window
or the custom text box Properties dialog (right-click the text box and choose Properties).
The first text box will get its value from the ReportTitle parameter. Set its Value property to
=Parameters!ReportTitle.Value and set the Value property of the second text box to =”This Text
is “ & Parameters!TextColor.Value . Select the second text box and set its Color property to
=Parameters!TextColor.Value (see Figure 5-13).
Figure 5-13
Search WWH ::




Custom Search