@Jerry - I have been trying that way but I am getting an error when the
file opens. It says "The file you are trying to open, 'dataFile.xls' is
in a different format than specified by the file extension." For some
reason it is trying to use the .cfm file.

@Ben - Thanks for the help. I did not realize that excel was an option
for cfreport. I will check that out.

__________________________

Steve Sequenzia
Thinksys Incorporated
1613 E Livingston St
Orlando, FL 32803

866.633.3000 x305
407.459.1305 Direct
866.892.3000 Help Desk
407.895.3338 Fax

-----Original Message-----
From: Ben Forta [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 11, 2007 9:43 PM
To: CF-Talk
Subject: RE: Exporting from ColdFuion to a Excel file

Or, if the data is query data, use <cfreport> which can output to Excel.

--- Ben


-----Original Message-----
From: Jerry Johnson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 11, 2007 9:26 PM
To: CF-Talk
Subject: Re: Exporting from ColdFuion to a Excel file

<cfcontent type="application/vnd.ms-excel">
<cfheader name="Content-Disposition" value="filename=#filename#.xls">
<cfoutput>#pageContent#</cfoutput>

I assume this will still work on 8

Jerry

On 10/11/07, Steve Sequenzia <[EMAIL PROTECTED]> wrote:
> Can someone please give me some insight into exporting data to excel
using
CF8.
>
> I am having issues with all the code I am trying.
>
> Any help would be great.
>
> Thanks
>
> 





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290902
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to