Adobe COLDFUSION 9 Manual page 1040

Developing applications
Hide thumbs Also See for COLDFUSION 9:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Working with Documents, Charts, and Reports
If you are certain about the data required for a subreport, you can define a new subreport while adding it to the main
report.
Add a new subreport
Define or open your main report.
1
Click the Subreport icon in the toolbox.
2
3
Drag an area for the subreport in the report band.
Select As A New Report and click Next.
4
Click Query Builder.
5
6
Select the tables and columns for the subreport.
Specify a WHERE clause for the report by using the Condition and Criteria columns for the key columns.
7
Specify a WHERE for Condition and either
column) for Criteria, and then overtype
define the input parameter name later in the procedure.)
Click Save, and then click Next.
8
Specify grouping fields, if appropriate for your subreport, and click Next.
9
10
Specify Free Form or Grid, and click Next.
Specify Only Detail Band, and click Next.
11
Specify a color scheme, and click Next.
12
13
Specify headings, as appropriate, and click Next.
14
For each parameter required by the subreport, specify the following:
• Parameter name.
• Associated value from the main report (select from the pop-up menu).
• Data type.
Click Next.
15
Specify a fully qualified filename for the subreport, and then click Next.
16
17
Click Finish.
Report Builder adds the subreport to the main report. Report Builder lets you change subreport name and modify
subreport parameters in a main report.
Modify subreport settings
1
Click the subreport element in the main report.
2
To change the subreport, modify Subreport Expression.
To modify subreport parameters:
3
Click the Subreport Parameters property.
a
b
Click the ... button.
Add, modify, or delete subreport parameters, and click OK.
c
(string column) or
='#CFVariable#'
with the name of the input parameter for the subreport (you
CFVariable
Last updated 8/5/2010
(numeric
=#CFVariable#
1035

Advertisement

Table of Contents
loading

Table of Contents