Hi,
use <CFCONTENT type="application/rtf" FILE="your_file">

Good Luck,
Gast�n

                
> -----Mensaje original-----
> De:   Warrick, Mark [SMTP:[EMAIL PROTECTED]]
> Enviado el:   Viernes 20 de Octubre de 2000 16:33
> Para: CF-Talk
> Asunto:       CFCONTENT download name
> 
> I'm trying to create an MS Word doc based upon a query and information
> entered on a form preceeding this report processing template.
> 
> In the processing template I've tried using:
> <cfcontent type="application/msword">
> 
> The query runs, but all the information I entered in the form preceeding
> it is lost.
> 
> I've tried using:
> <cfcontent type="application/rtf">
> 
> This works. The query data and all the info from the preceeding form are
> there, and a download prompt comes up in the browser.
> 
> HOWEVER, the initial filename in the download prompt is the name of the
> CFML template which processed it (reports.cfm).
> 
> I want the name of the file that shows up in that download prompt to be
> report.doc so that the user won't have to think about about naming the
> file correctly when they select a place to save it.
> 
> I've tried the technique suggested by Borkman Lee:
> http://servername/cfdocs/index.cfm/xyz.doc?fuseaction=showWordDoc
> 
> It doesn't work on my server.
> 
> Does anyone else know how to do this? 
> 
> Please copy me on your reply as the list sometimes take a few hours to
> send messages to me.
> 
> Thanks!
> 
> OH, and by the way - the first person to answer this correctly is going to
> get 2 free movie tickets.
> 
> --------------------------------------------------------------
> Mark Warrick
> Phone: (714) 547-5386
> Efax.com Fax: (801) 730-7289
> Personal Email: [EMAIL PROTECTED]
> Personal URL: http://www.warrick.net 
> Business Email: [EMAIL PROTECTED]
> Business URL: http://www.fusioneers.com
> ICQ: 346566
> --------------------------------------------------------------
> 
> --------------------------------------------------------------------------
> ----------------------
> Archives: http://www.mail-archive.com/[email protected]/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send
> a message with 'unsubscribe' in the body to
> [EMAIL PROTECTED]
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebarRsts or send a message with 
'unsubscribe' in the body to [EMAIL PROTECTED]

Reply via email to