Database Reference
In-Depth Information
Step 11: Modify the Report Title to Dynamically Show the Selected Year and Month
1.
From the
Page Explorer
tab, select the
Page1
object.
2.
From the
Insertable Objects
pane, drag a
Block
object under the existing
Block
in the
Page Header
area.
3.
Click on the inserted
Block
object to select it, and click on the ellipsis button next to the
Classes
property (this property is the last property in the property list). In the Classes
dialog box, select
Subtitle area
in the
Global classes
pane and move it into the
Selected classes
pane by clicking on the green arrow. Click
OK
.
4.
From the
Insertable Objects
pane, drag a
Layout Calculation
object into the subtitle
area block in the page header.
5.
In the Report Expression dialog box, create the following expression:
ParamDisplayValue('MonthNum') + ' ' + ParamDisplayValue('Year')
6.
Va l i d a t e t h e e x p r e s s i o n a n d c l i c k
OK
.
The report should match the final report design shown in Figure 4.10.
Figure 4.10
Final report