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.
<cfreport report = "report_path" dataSource = "ds_name" type = "type" timeout = "number of seconds" orderBy = "result_order" username = "username" password = "password" formula = "formula"> </cfreport>
cfcollection,
cfexecute,
cfindex,
cfobject,
cfsearch,
cfwddx
New in ColdFusion MX: Crystal Reports 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.
<!--- This view-only example shows the use of cfreport ---> <h3>cfreport Tag<h3> <p>cfreport lets reports from the Crystal Reports Professional report writer display through a ColdFusion interface. To run, the tag requires the name of the report. cfreport can also pass information to the report file displayed, to change the output conditions. <p>This example would run a report called "monthlysales.rpt " and pass it an optional filter condition to show only the information for a subset of the report. <cfreport report = '/reports/monthlysales.rpt'> {Departments.Department} = 'International' </cfreport> <p>Substitute your report files and filters for this code. cfreport can put Crystal Reports into web pages.