>- see footer for list info -<
Paul, you're close. You don't need to use a closing CFCONTENT. You do just
need to set the correct mimetype in the CFCONTENT, as you note. This is
discussed in the CF docs. Others may offer specific examples. Just wanted to
say you're close. :-)

One other thing: by "NOT save them locally", I can see you mean not "on the
server generating running the CFML", which is what the CFFILE is doing. Are
you wanting to launch Word on the client's end? Or do you mean you want to
go straight to prompting the user to store the file on their machine?  I'm
sure others can point out how to do each, if you say which you mean.

/charlie
http://www.carehart.org/blog/

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Swingewood
Sent: Monday, October 02, 2006 9:17 AM
To: [email protected]
Subject: [CF-Dev] Quick Question CFCONTENT

>- see footer for list info -<
Hi.

I want to create a word document on the fly to show a report.
I have done something similar in the past using

<cfsavecontent>
     #BIG REPORT#
</cfsavecontent>
<cffile action="WRITE" file="d:\blahblahblah\#SchoolID#_06.xls" 
output="#excelData#" nameconflict="overwrite">

This however saves the file locally. THere could be tens of thousands of
reports for this new system so I want to create them on the fly and NOT save
them locally.

Can I just use <CFCONTENT>#BIG REPORT#</CFCONTENT> (and whats the correct
mime for MS word these days using 6.1?

Regards - Paul

_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to