home *** CD-ROM | disk | FTP | other *** search
- <!--- This view-only example shows the use of CFREPORT --->
- <HTML>
- <HEAD>
- <TITLE>CFREPORT Example</TITLE>
- </HEAD>
-
- <BODY>
- <H3>CFREPORT Tag</H3>
- <P>CFREPORT allows reports from the Crystal Reports Professional
- report writer to be displayed through a Cold Fusion interface.
- The CFREPORT tag requires the name of the report to run;
- CFREPORT can also pass information to the report
- file being displayed to change the output conditions.
-
- <P><i>CFREPORT is used in Windows NT only. It is not available under UNIX.</i>
-
- <P>This view-only example would run a report called
- "monthlysales.rpt" and pass it an optional filter condition to
- show only the information for a certain subset of the report.
-
- <CFOUTPUT>#HTMLCodeFormat("
- <CFREPORT REPORT='/reports/monthlysales.rpt'>
- {Departments.Department} = 'International'
- </CFREPORT> ")#
- </CFOUTPUT>
-
- <P>Substitute your own report files and filters for this code
- and CFREPORT can place your existing Crystal Reports into web pages.
-
- </BODY>
- </HTML>
-