Question
Database Query to Excel
I have been working on getting data produced by a query to
write to an Excel file (read all about it and saw sample code).
Some just plain does not work, and then this is the closest I have
gotten: See attached code.
When I run the application, the following happens in Firefox:
1. A pop--up error box appears that says: Internet Explorer cannot download "writeToExcel.cfm" from the server. Internet Explorer was not able to open this Internet site. The requested site is either unavailable or cannot be found. Please try again later. So I click "OK" and then refresh the page and then another box pops up asking if I want to open/save, etc and so I click "Open" and there it is.
If I run this application using IE - does not work at all. Just get the error message and then it simply fails.
The information I have in the CFML Reference book does not work at all.
Can someone please give me sure fire code that can work or explain the error of my ways? Also, in the CF Reference book, it says that to execute the CFCONTENT tag, it must be enabled in the CF Administrator - I do not see where I do that.
Thanks for any input.
Lee
When I run the application, the following happens in Firefox:
1. A pop--up error box appears that says: Internet Explorer cannot download "writeToExcel.cfm" from the server. Internet Explorer was not able to open this Internet site. The requested site is either unavailable or cannot be found. Please try again later. So I click "OK" and then refresh the page and then another box pops up asking if I want to open/save, etc and so I click "Open" and there it is.
If I run this application using IE - does not work at all. Just get the error message and then it simply fails.
The information I have in the CFML Reference book does not work at all.
Can someone please give me sure fire code that can work or explain the error of my ways? Also, in the CF Reference book, it says that to execute the CFCONTENT tag, it must be enabled in the CF Administrator - I do not see where I do that.
Thanks for any input.
Lee