User Guide

Table Of Contents
Creating reports with the ColdFusion MX 7 reporting 781
Calculated field Creates a group break when a calculated field returns a different value. For
example, if the expression calc.FirstLetter returns the first letter of a query column, you can
group a report in alphabetical order.
Boolean expression Creates a group break when a Boolean expression returns a different
value. For example, if your result set is sorted by the passpercentage column, you might use the
Boolean expression query.passpercentage LT 50.
5.
Specify group break options:
Start New Column Forces a new column on a group break.
Start New Page Forces a new page on a group break.
Reset Page Number Resets the page number to 1 on a group break.
6.
Specify band size and printing information:
Min. height for group The minimum height that must remain on a page for ColdFusion to
print the group band on that page.
Reprint Header on Each Page Displays the group header on each page.
7.
Click OK.
The Report Builder adds the group to the report and creates header and footer bands for the
group.
8.
Click OK.
The Group Management dialog box closes.
9.
Add headings, text, query fields, calculated fields, and other information to the group’s header
and footer.
To create group subtotals:
1.
Create a calculated field to contain the group subtotal. Create the calculated field using the
following criteria:
Specify a numeric data type.
Select Sum in the Calculation field.
Specify the field to sum on in the Perform Calculation On field. For example, on an
employees by department report, you might sum on query.emp_salary.
Specify that the field should be reset when the group changes.
2.
Place the calculated field on the report.
For more information on calculated fields, see “Defining, modifying, and using fields and input
parameters” on page 782 or the Report Builder online Help.