Try this:

<cfset FormattedString=Replace(#Yourstring#,#CHR(10)#,"<br>","ALL")>

<font face="Arial,Helvetica" size="2">#FormattedString#</font><br>


Best regards,

Dennis Powers
UXB Internet
(203)879-2844
http://www.uxbinfo.com/

-----Original Message-----
From: atlantis [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 31, 2001 5:32 PM
To: CF-Talk
Subject: Formating to HTML output

I have data in a memo field in my access database that has carriage
returns in it to separate different paragraphs.

How do I get the formatting to come through as <BR> or <P> when the data
is output on a webpage?

Right now all the data runs together.

Thanks,

Jason


______________________________________________________________________
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to