Forums

ASP

This topic is locked

Line Breaks in Memo Field?

Posted 22 Dec 2002 04:20:19
1
has voted
22 Dec 2002 04:20:19 Carlo Tan posted:
I am trying to create a detail page that contains descriptions of an item. The decription needs to have line breaks. However, even when I use Ctrl + Enter to create the line breaks in the memo fields in Microsoft Access, the descriptions are still displayed without line breaks in the actual web page. I know there is a way to make this work, as I have seen it done before. I appreciate any help.

Replies

Replied 22 Dec 2002 04:41:01
22 Dec 2002 04:41:01 Owen Eastwick replied:
Where you display the dynamic text from the memo field on the page modify the code as follows:


<%= Replace(rsName.Fields.Item("MemoFieldName").Value, VbCrLf, "<br>") %>



Regards

Owen.

Multiple Parameter UD4 / Access 2000 Database Search Tutorial:
www.tdsf.co.uk/tdsfdemo

Reply to this topic