Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Preserve linebreaks and linefeeds from memo fields.

Status
Not open for further replies.

IndigoDragon

Programmer
Aug 2, 2005
57
NL
Hi,

I'm having difficulty showing linefeeds and linebreaks from data in a memofield on a webpage. The data (text) is only showed correctly (with linefeeds and breaks) when displayed in a (HTML) textarea field. However, I don't want the length of the field to be limited or a scrollbar to show.
I tried replacing "vbLf" and "vbCr" with "<br />" but there don't seem to be any in the text that's stored in the memo fields. There should, shouldn't there?

Anyway, can someone help me along?

THX!!!

 
IndigoDragon,
If you using Windows try replacing [tt]vbCrLf[/tt] with [tt]<br>[/tt].

Hope this helps,
CMP

[small]For the best results do what I'm thinking, not what I'm saying.[/small]
(GMT-07:00) Mountain Time (US & Canada)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top