Forums

This topic is locked

maintain carriage return

Posted 30 Jun 2003 10:51:27
1
has voted
30 Jun 2003 10:51:27 David Hagelthorn posted:
ASP.NET (VB)
Connecting to an Access DB I am trying to upload News reports. How do I maintain the carriage returns within the report (other than inserting <br> in the code)?

Replies

Replied 30 Jun 2003 15:32:44
30 Jun 2003 15:32:44 Owen Eastwick replied:
You can replace the <br> when you display the text, for example:

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

Regards

Owen.

-------------------------------------------------------------------------------------------
Used programming books and web development software for sale (UK only): www.tdsf.co.uk/tdsfdemo/Shop.htm

Developer services and tutorials: www.drdev.net

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

Reply to this topic