>From Stephen Garrett:

"...either use CFFILE to delete the previous one if it exists, or use a
random file name to pass to CFX_EXCEL."

-David

On Mon, 01 Jan 2001 12:03:12 -0500 "Jim Watkins" <[EMAIL PROTECTED]>
writes:
> When more than one person attempts to activate the following tag at 
> the same
> time the OUTPUT1.XLS file is not deleted and the next person gets an 
> error.
> I then have to turn off the Webserver in NT Services and restart in 
> order to
> delete the file so the script will run again.  Does anyone have a 
> solution
> to this?
> 
> 
> <CFX_Excel Query="roster"
> Version="2000"
> File="d:\templates\OUTPUT1.XLS"
> Workbook="D:\TEMPLATES\GradeSheet.XLS"
> Worksheet="Sheet1"
> Headers="N"
> Row="3"
> Column="1">
> <cfheader name="Content-Disposition" value="inline;
> filename='Gradesheet.xls'">
> <cfcontent type="application/msexcel" 
> file="d:\templates\OUTPUT1.XLS"
> deletefile="YES">
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to