Hello

I have done this a couple of ways.

1. Convert all (CR)(LF) to <br> and then save it to the database.
Or
2. Convert (CR)(LF) to <br> on each web report.



<cfset tmpstrtmp = #rereplacenocase(Description,chr(10),"","all")#>
<cfset Description = #rereplacenocase(tmpstrtmp,chr(13),"<br>","all")#>


Jerry L. Henline
President 
Vision It Now, Inc
A TecnoGuide Member
 

-----Original Message-----
From: Robert Walters [mailto:[EMAIL PROTECTED]] 
Sent: Monday, July 22, 2002 8:12 AM
To: CF_OpenSource
Subject: RE: Display memo fields

Hello,

We ended up using ActiveEdit from http://www.cfdev.com to have our users
be able to format the text exactly how they wanted it to appear.  The
html is stored in the memo field in the database and then call it when
we want the text(html)

Thanks.........Rob Walters
Imaira Digital Media

-----Original Message-----
From: Sigvart Overstrom [mailto:[EMAIL PROTECTED]] 
Sent: Monday, July 22, 2002 8:06 AM
To: CF_OpenSource
Subject: Display memo fields


Does anyone know how to display a memo field from a database with the
actual line breaks as it is set up in the database? When I display the
text in a textfield using paragraphformat(string) it is displayed
correctly, but it does not work outside the textfield.

Hope someone can help me...

Sigvart Overstrom



______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to