Quantcast
Channel: Adobe Community: Message List - ColdFusion
Viewing all articles
Browse latest Browse all 21760

cfreport

$
0
0

Hi,

 

i am using cf mx 7. I have done some reading about this and not sure about the templae attribute.  I see some examples from live document with format PDF and wonder what is myreport.cfr?

 

<cfreport template="myreport.cfr" style="mystyle.css" format="PDF"> <cfreportParam subreport="subreport1" style="subreport1-style.css">

<cfreportParam subreport="subreport2" style="subreport2-style.css"> </cfreport>

 

I created the Report.xlsx at the same location where i have cfm pages with the syntax below.  Either one below still give me an error

 

<CFREPORT format="Excel" template="Report.xlsx" query="#myquery#"/>

OR

<CFREPORT format="Excel" template="#GetDirectoryFromPath(GetTemplatePath())#/Report.xlsx"

query="#myquery#"/>

 

Error:

 

The reportCFC file D:\Inetpub\apps\Report.xlsx does not exist, or could not be found.

 

any one got any advice?

 

 

Thanks

 

kt


Viewing all articles
Browse latest Browse all 21760

Trending Articles



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