Question
export data into Excel
Hi,
I made a query and displayed the data with <CFGRID>. What I now want to do is to make a button on the page to open the content/data in excel. [export to excel]. Is this possible in coldfusion? What do I have to do to get this started?
I tried a example like this:
<cfquery name="" datasource="">
SELECT * FROM dev
</cfquery>
<CFREPORT format="Excel" template="test.xls"
query="#excel#" />
However it doesn't work. I see a little symbol in the left corner of the opened window [square, triangle, ball on it].
Could somebody direct me in the good way?
regards,
Kabbi
I made a query and displayed the data with <CFGRID>. What I now want to do is to make a button on the page to open the content/data in excel. [export to excel]. Is this possible in coldfusion? What do I have to do to get this started?
I tried a example like this:
<cfquery name="" datasource="">
SELECT * FROM dev
</cfquery>
<CFREPORT format="Excel" template="test.xls"
query="#excel#" />
However it doesn't work. I see a little symbol in the left corner of the opened window [square, triangle, ball on it].
Could somebody direct me in the good way?
regards,
Kabbi
