Hi Remi,
If I understand the problem correctly, simple replace each line break with its HTML equivalent. E.g.:
' Get data from DB first
Dim MyMemoText
MyMemoText = MyRecordSet.Fields("MyMemoColumn").Value
' Now replace stuff:
MyMemoText = Replace(MyMemoText, vbCrLf, "<br />" + vbCrLf)
This code will replace each line break in the database column (vbCrLf) with an XHTML line break and a normal link break.
HtH,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
|