User Guide

Table Of Contents
Creating reports with the ColdFusion MX 7 reporting 775
Runtime
At runtime, you invoke the CFR file using a ColdFusion MX server that has ColdFusion MX 7
Reporting enabled. For more information on enabling ColdFusion MX reporting, see “Getting
started” on page 775.
You can display the CFR file directly or invoke it through the
cfreport tag. Additionally, you
can optionally save the report to a file instead of returning output to the browser. The following
figure shows the ColdFusion MX reporting runtime architecture:
If the report requires input parameters or a passed query, you must use the
cfreport tag. If you
pass a query attribute in the
cfreport tag, it overrides any internal SQL statement in the report
definition.
Getting started
Before you get started using ColdFusion MX reporting, you must install the Report Builder.
After you install the Report Builder, start it by opening the Report Builder icon in the location
you specified at installation time (for example, the desktop or the Start menu).
The first time you open the Report Builder, the Server Setup Wizard runs. After you complete the
Server Setup Wizard, select File > New from the menu bar to define a new report using the
Report Creation Wizard. For more information, see “Basic steps for creating reports
on page 778.
Installing the Report Builder
You can access the Report Builder installer from the following places:
The ColdFusion MX installation Go to the webroot/CFIDE/installers directory.
The ColdFusion MX CD Use the CD Browser to select the ColdFusion MX reporting option.
The Macromedia website Go to www.macromedia.com/software/coldfusion/reporting/.
When you install the Report Builder, it also registers Windows DLLs that are used by RDS. If
these DLLs fail to register properly, the Report Builder generates errors at startup and when
using RDS.
Browswr
Database
Web Server
CFM file with a
cfereport tag
CFR file
Save to file
Save to file
(optional)
(optional)
ColdFusion MX