Another good way, if you want to output to word is to use the MS Word COM
library.

Some good samples are at www.cfcomet.com

It's a pain, but end user's will love it :)

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, April 05, 2001 8:55 AM
To: CF-Talk
Subject: RE: CFHEADER questions


I'm not sure what you mean by stopping the output.  Do you mean that you
might start working through a query (or something) and then find that you
don't want to send the data to the user after all?  If so, you could first
put all the data to download into a variable, then only do the CFCONTENT if
you've decided the data are ok.

I've used this sort of approach to create RTF files to download to the
browser before; I wouldn't call it easy but it's certainly possible.  More
info here: http://forums.allaire.com/devconf/Index.cfm?Message_ID=172003

-----Original Message-----
From: tom muck [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 05, 2001 10:21 AM
To: CF-Talk
Subject: CFHEADER questions


I have some code on my page using <CFHEADER> and <CFCONTENT> that allows the
download of a <CFOUTPUT> to a text file.  Is there anything I can use on
that page, aside from a <CFLOCATION> or <CFABORT> to stop the output of the
server to the text file?

Also, is there an easy way to create an RTF or Word doc on the fly using
this method?

tom
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to