Adobe COLDFUSION 9 Manual page 1030

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

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Working with Documents, Charts, and Reports
Note: When choosing fonts for your report, ensure that the fonts are available on the server that runs ColdFusion and (if
you don't embed fonts) on the client computer. For more information on fonts, see
page 1036.
Define a style
Choose Window > Report Styles.
1
Click the (+) icon at the upper edge of the Report Styles tab.
2
3
Type a value for the Name field. Style names must be unique.
Add other style characteristics, and click OK.
4
Specify a style as the default
1
Edit a text style or create one.
2
Select the option with this label: This option is the default style if no other style is selected for an object.
Add or modify other text style characteristics, and click OK.
3
Apply a style to a report element
1
Select the element in the report band.
Choose Window > Properties Inspector.
2
Choose the style from the Style pop-up menu.
3
For more information, see the Report Builder online Help.
Previewing reports
Report building is an iterative process and most developers periodically display the in-progress report to review their
most recent changes. If your report uses an internal query and you established default web root settings, preview
functionality is enabled automatically. If your report uses a passed query, define an associated CFM page and associate
that page with the report. The Report Builder runs this page when you request Report Preview.
Preview a report that uses an internal query
1
(Optional) Define default server connection information using the Preferences dialog box, if you did not define
these settings previously:
• Default RDS server configuration (used for Query Builder and Chart Wizard only; not required for report
preview).
• Fully qualified path for the local web root directory; for example, C:\ColdFusion\wwwroot or
C:\Inetpub\wwwroot.
• URL for the local web root, for example, http://localhost:8500 or http://localhost.
2
(Optional) Specify the output format in the Report Properties dialog box (the default format is FlashPaper).
(Optional) If a CFM page runs, specify the URL of the CFM page in the Report Properties dialog box.
3
Save your report.
4
5
Select File > Preview from the menu bar to display the report.
Note: If the Report Builder displays the Edit Preview Report URL dialog box instead of displaying the Preview window,
select Edit > Preferences from the menu bar and insure that the web root file and URL settings are correct on the Server
Connection pane.
Last updated 8/5/2010
"Creating a simple
report" on
1025

Advertisement

Table of Contents
loading

Table of Contents