Chapter 7
[ 159 ]
10. Drag a Label component over to the second column, first row cell.
11. For the text, enter Classic Cars, Inc.
12. Set the Label Name to hdrHeaderLabel1
13. Change the font properties as follows:
Size: 24 points
Weight: Bold
14. Drag a Data object to the second row. Set the name as hdrHeaderLabel2.
15. Enter the Expression Editor for the Data component. Navigate to Report
Parameters/All/rprmReportTitle as the data expression. The final expression
should be params["rprmReportTitle"] when done.
16. Enter the following font parameters:
Size: 16 points
Weight: Bold
17. Drag a Text object over to the third row. Set the name as hdrHeaderLabel3.
18. Change the value to
new Date()19. Select the Grid component, and change the Background color to Silver.
Using Components Stored in a Library
So now we have two components stored in a Library??”a report header and a Data
Source. How do we consume them? Well, that's what we are going to look at next.
Using elements in a Library is fairly straightforward. You only need to use the
Library in a Report Design that is stored in a project, and you are ready to go. We
will look at how to do this in the next example.
1. Create a new Report Design under the Classic Cars ??“ With Library report.
Call it Customer Order Form.
Pages:
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149