you can also use the addnewline attribute in the CFFILE tag (i.e. if you're outputting records from a query to your file)
Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] --------------------------------------------------------- Macromedia Associate Partner www.macromedia.com --------------------------------------------------------- Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com ----- Original Message ----- From: "Boardwine, David L." <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, February 26, 2003 9:11 AM Subject: RE: CFFILE and carriage returns > Create a carriage-return line-feed pair > <CFSET CRLF = #CHR(13)# & #CHR(10)#> > > and append it to the string wherever you want a new line to start > <cfset mystring = mystring & #CRLF#> > > HTH > DavidB > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 26, 2003 12:01 PM > To: CF-Talk > Subject: CFFILE and carriage returns > > > I am trying to write files using <CFFILE> and I would like to have carriage > returns in the file to make it look something like below: > > Workshop Registration Information > startDate: blah > endDate: blah > workshopID: blah > title: blah > ... > > Right now, I am creating a variable called orderInfo and writing that to the > file. The problem is that my file ends up with everything on one long line > and > looks something like below: > > Workshop Registration Information startDate: blah endDate: blah > workshopID: > blah title: blah ... > > Anyone know how to solve this? Any suggestions would be really appreciated. > > --Jeff > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

