It does look like it's supposed to be a carriage return, but the code is expecting cr to be a variable, probably that has the carriage return ASCII code in it. You could try "#chr(13)##chr(10)#" instead, or just chr(10).
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Friday, November 17, 2006 1:40 PM > To: CF-Talk > Subject: Replace function > > All, > > I reusing some code that uses replace to output data from a > textbox datatype in SQL Server > and I'm scratching my head on what "cr" is. Is that suppose > to be a carriage return? Should > I be using a charactor symbol instead of "cr" > > inside of cfoutput of a query... > #ParagraphFormat(Replace(all_recipes.ingredients,cr,"<br>","all"))# > > I'm getting the error ... > > Variable CR is undefined. "EMF <idahopower.com>" made the following annotations. ------------------------------------------------------------------------------ This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. ============================================================================== ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260939 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

