User Guide
cfreport 295
cfreport
Description
Runs a predefined Crystal Reports report. Applies only to Windows systems. Uses the
CFCRYSTAL.exe file to generate reports. Sets parameters in the Crystal Reports engine according
to its attribute values.
Category
Extensibility tags
Syntax
<cfreport
report = "report_path"
dataSource = "ds_name"
type = "type"
timeout = "number of seconds"
orderBy = "result_order"
username = "username"
password = "password"
formula = "formula">
</cfreport>
See also
cfcollection, cfexecute, cfindex, cfobject, cfsearch, cfwddx
History
ColdFusion MX: Changed data source connection behavior: Crystal Reports now establishes an
independent connection to the data source. The connection is not subject to any ColdFusion data
source-specific restrictions. For example, the Crystal Reports server can access a data source,
regardless of whether it is disabled in the ColdFusion Administrator.
Attributes
Attribute Req/Opt Default Description
datasource Optional Name of registered or native data source.
type Optional standard • standard (not valid for Crystal Reports 8.0)
• netscape
• microsoft
timeout Optional Maximum time, in seconds, in which a connection must be made to
a Crystal Report.
report Required Report path. Store Crystal Reports files in the same directories as
ColdFusion page files.
orderBy Optional Orders results according to your specifications.
username Optional Username required for entry into database from which report is
created. Overrides default settings for data source in ColdFusion
Administrator.