Name

cfreport

Synopsis

<cfreport> ... </cfreport>

Executes a predefined Crystal Reports report and populates it with data from a ColdFusion template. This feature is only available on the Windows version of ColdFusion. In order to use this tag, you must have Crystal Reports installed on your ColdFusion server. In ColdFusion MX, ColdFusion no longer handles data source connectivity for the Crystal Report.

Attributes

report=" report_path "

The full path to the Crystal Report file to be executed. Required.

datasource=" datasource_name "

The name of the ODBC data source to obtain data for the report from. If no datasource is provided, the data source specified when the report was created is used. datasource is a previously undocumented attribute of the cfreport tag. Optional.

formula=" formula "

One or more named formulas within the report. Separate formula parameters with semicolons. If the formula contains a semicolon, it should be escaped by doubling it up. Optional.

orderby=" result_order "

Orders results according to your specifications. Optional.

password=" password "

Password associated with username. Optional. If a password is specified, it overrides the value set in the ColdFusion Administrator.

timeout=" seconds "

Time in seconds ColdFusion should wait before timing out a connection to the Crystal Reports engine. Optional.

type=" report_type "

The type of HTML that should be used to generate the report. Options are Standard, Netscape, and Microsoft; they refer to the web ...

Get Programming ColdFusion MX, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.