I have used the following cfreport code to save a PDF file
with a particular name and location using "filename". However I
cannot figure a way to open that PDF immediately after I do that.
If I don't send it to a file, it opens with the name of the cfm
that the code is in and that is not what I need. I've played with
cfexecute, cfheader, cfcontent and cffile. For example I tried<cfexecute name="#ReportOutput#" /> with no luck.
ReportOutput for example evaluates to
C:\CFusionMX7\wwwroot\Mws\Temp\LC3.pdf. Any ideas?
<cfreport template="Reports/LC.cfr"
format="pdf"
overwrite="yes"
filename="#ReportOutput#"
query="ReportQuery" />
<cfreport template="Reports/LC.cfr"
format="pdf"
overwrite="yes"
filename="#ReportOutput#"
query="ReportQuery" />