Forums

ASP

This topic is locked

Blank line

Posted 15 Apr 2002 07:44:32
1
has voted
15 Apr 2002 07:44:32 Tommi Virtanen posted:
I have database (access), it has field (memo type).

When user press in edit-screen 'enter', it shows that here come one or more blank line. But when in show data screen haven't blank line. How I can create show data screen which knows blank line.... It's stupid to write <br> codes in edit-screen memo fields.

Replies

Replied 15 Apr 2002 09:22:55
15 Apr 2002 09:22:55 Viktor Farcic replied:
When displaying data modify the code
from:
<%=(RecordsetName.Fields.Item("FieldName".Value)%>
to:
<%=Replace((RecordsetName.Fields.Item("FieldName".Value), VbCrLf, "<br />"%>


<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
I have database (access), it has field (memo type).

When user press in edit-screen 'enter', it shows that here come one or more blank line. But when in show data screen haven't blank line. How I can create show data screen which knows blank line.... It's stupid to write &lt;br&gt; codes in edit-screen memo fields.


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

Viktor Farcic

TalkZone Manager

Edited by - vfarcic on 15 Apr 2002 09:23:55

Reply to this topic