I'm sorry. This doesn't work. The same problem happens - I loose all the data from
the previous form.
---mark
--------------------------------------------------------------
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
--------------------------------------------------------------
> -----Original Message-----
> From: tom muck [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 20, 2000 11:36 AM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: CFCONTENT download name
>
>
> Use this before your CFCONTENT tag:
>
> <CFHEADER NAME="Content-Disposition" VALUE="inline;
> filename=myworddoc.doc">
>
> tom
>
>
> ----- Original Message -----
> From: "Warrick, Mark" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Friday, October 20, 2000 2:32 PM
> Subject: 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/cf-talk@houseoffusion.com/
> 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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebarRsts or send a message with
'unsubscribe' in the body to [EMAIL PROTECTED]