Quantcast
Channel: Adobe Community : Popular Discussions - Reporting
Viewing all articles
Browse latest Browse all 38309

Open PDF after being filed by cfreport

$
0
0
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" />

Viewing all articles
Browse latest Browse all 38309

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>