Eric,

Here is what I used with CF5 and it worked well for me.

<cfheader name="Content-Disposition" value="inline; filename=<filename>.xls">
<cfheader name="Expires" value="#Now()#">
<cfcontent type="application/vnd.ms-excel">


This forced the page to be an excel sheet. Be sure to have this in a frame or 
window and you will not see the rest of the your page when done.


Best,
Drew Nathanson

>Yes, you read that right. CF FIVE. That's what Govt work will get you.
>
>I'm not used to developing in ColdFusion, so nuances are easily escaping me.
>
>
>I've tried using various iterations of <CFCONTENT> and <CFHeader> but
>nothing is changing. I'm only getting a display in the web browser.
>
>Clearly, I'm doing something wrong.
>
>I need a straightforward, no assumptions made tutorial on how I can use CF5
>to dump data from a query into an Excel document. The query works fine, and
>I can write it into an HTML table without a problem. But beyond that, I'm
>starting to feel a little dumb. Hopefully, you can stand my noobishness.
>
>-- 
>The E 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336477
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to