Forum Home
Press F1
 
Thread ID: 18639 2002-04-29 05:34:00 formatting memo fields in ASP Guest (0) Press F1
Post ID Timestamp Content User
46260 2002-04-29 05:34:00 can anyone help me with this problem?

I have memo fields in my database that are formatted correctly, but when i display these fields in my web page (using ASP) they are displayed without linebreaks etc and are not formatted correctly.

Is there any code etc that can solve this problem?
Guest (0)
46261 2002-05-02 03:43:00 If you're using ASP/VBScript, the quickest and easiest way to preserve your linefeeds is to use the replace function.

eg.

memofield = replace(memofield, vbCRLF, '<br>')

As for other formatting like bold, underline, font, size, etc it's a tad more dfficult.
Guest (0)
1