Forums

ASP

This topic is locked

Preserving line breaks and text Formatting

Posted 12 Sep 2002 04:36:10
1
has voted
12 Sep 2002 04:36:10 Brian Dunk posted:
Hello, I have a large text box in an insert record field and was wondering how i can preserve line breaks and text editing after calling the record from a db. thanks for the help.

bdunk

Replies

Replied 12 Sep 2002 09:29:08
12 Sep 2002 09:29:08 Viktor Farcic replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Hello, I have a large text box in an insert record field and was wondering how i can preserve line breaks and text editing after calling the record from a db. thanks for the help.

bdunk
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Something like:<pre id=code><font face=courier size=2 id=code>&lt;%=Replace(RecordsetName.Fields.Item("FieldName".Value, VbCrLf, "&lt;br /&gt;"%&gt;</font id=code></pre id=code>

Viktor Farcic
www.farcic.com
TalkZone Manager

Edited by - vfarcic on 12 Sep 2002 09:29:38
Replied 16 Sep 2002 19:07:34
16 Sep 2002 19:07:34 Robert Kruse replied:
What would that translate to in JScript?

Thanks,

Bob Kruse
Replied 16 Sep 2002 19:12:36
16 Sep 2002 19:12:36 Robert Kruse replied:
What would that translate to in JScript?

Thanks,

Bob Kruse
Replied 16 Sep 2002 20:19:26
16 Sep 2002 20:19:26 Brent Colflesh replied:

Reply to this topic