Okay I tried your suggestion and got the same error

     The page cannot be displayed
      There is a problem with the page you are trying to reach and it cannot
be displayed.

--------------------------------------------------------------------------





      HTTP 500 - Internal server error
      Internet Explorer

----- Original Message ----- 
From: "Dawson, Michael" <[EMAIL PROTECTED]>
To: "CF-Talk" <[email protected]>
Sent: Monday, March 14, 2005 9:32 PM
Subject: RE: CF to excel


> I use this with success:
>
> <cfheader name="Content-Disposition" value="attachment;
> filename=#fileName#">
> <cfcontent type="Application/Unknown" reset="yes">
>
> [html content goes here...]
>
>
> This code snippet should prompt you to download/save each spreadsheet
> w/o opening Excel directly.
>
> M!ke
>
> -----Original Message-----
> From: Eric Creese [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 14, 2005 9:22 PM
> To: CF-Talk
> Subject: CF to excel
>
> How come the following will not work. I get a 500 error
>
> <html>
> <head>
> <title>CLASS of <cfoutput>#getYRInfo.class_year#</cfoutput> Spread
> Sheet</title> </head> <body>
>
> <cfcontent type="application/ms-excel">
> <CFHEADER NAME="content-disposition" VALUE="filename=classroster.xls">
>
> <cfoutput><table cols="11"></cfoutput>
> <cfoutput query="getclass">
> <tr>
>  <td ><strong>#fname#</strong></td>
>  <td ><strong>#lname#</strong></td>
>         <td ><strong>#mname#</strong></td>
>         <td ><strong>#addr1#</strong></td>
>         <td ><strong>#addr2#</strong></td>  <td
> ><strong>#city#</strong></td>
>         <td ><strong>#state#</strong></td>
>         <td ><strong>#country#</strong></td>
>         <td ><strong>#zip#</strong></td>  <td
> ><strong>#email#</strong></td>
>         <td><strong>#phone#</strong></td> </tr> </cfoutput>
> <cfoutput></table></cfoutput> </body> </html>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198767
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to