Database Reference
In-Depth Information
Figure 6.47
Completed prompt page
Step 8: Add a Conditional Variable to the Report
We will add a variable for the report that will use the parameter use value and attach it to the page
and render the appropriate page.
1.
In the
Explorer Bar
, mouse over the
Condition Explorer
tab and select the
Va r i a b l e s
folder.
2.
From the
Insertable Objects
pane, drag a
String Variable
object into the
Va r i a b l e
pane in the work area.
The Report Expression dialog box is displayed.
3.
From the
Parameters
tab in the
Av a i l a b l e C o m p o n e n t s
pane, drag the
Select Statistic
parameter into the
Expression Definition
pane.
Since the default function is
ParamDisplayValue()
, we need to change the function
to leverage the use value.
4.
In the Expression Definition pane, change the function to the following:
ParamValue('Select Statistic')
5.
Click
OK
to close the dialog box.
6.
With the variable
String1
selected, change the
Name
property in the
Properties
pane to
ChosenPage
.