This example uses a function to determine the application page path. The report displays only those records that match ZIP code and last name criteria entered into an HMTL form: |
<CFREPORT REPORT="#GetDirectoryFromPath |
(Application PagePath)#myreport.rpt" |
{ZipCode} = "#Form.ZipCode#" AND |
{LastName} like "#Form.LastName#*" |
</CFREPORT> |