Name
CFREPORT
Synopsis
<CFREPORT> ... </CFREPORT>
Executes a predefined Crystal Reports report and populates it with data from a ColdFusion template. In order to use this tag, you must have Crystal Reports installed on your ColdFusion server.
Attributes
-
REPORT="report_path" The full path to the Crystal Report file to be executed. Required.
-
ORDERBY="result_order" Orders results according to your specifications. Optional.
-
USERNAME="username" A username for the database providing data for the report. Optional. If a username is specified, it overrides the value set in the ColdFusion Administrator.
-
PASSWORD="password" Password associated with
USERNAME. Optional. If a password is specified, it overrides the value set in the ColdFusion Administrator.-
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.
-
TYPE="report_type" The type of HTML that should be used to generate the report. Options are
Standard,Netscape, andMicrosoft; they refer to the web browser the report is destined for. This attribute can be dynamically set by first determining the browser in use with the CGI variableHTTP_USER_AGENT. TheTYPEattribute isn’t documented in the Allaire documentation and was designed to overcome a problem usingCFREPORTwith Crystal Reports 8.x. When using theCFREPORTtag in versions of ColdFusion prior to 5.0 to generate a report ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access