p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Access (http://p2p.wrox.com/forumdisplay.php?f=18)
-   -   Carrage return in Access to dotnet (http://p2p.wrox.com/showthread.php?t=24320)

gonderdonk January 22nd, 2005 02:10 PM

Carrage return in Access to dotnet
 
I need to populate an area on an aspx page with text from a table. I have a memo field and I want to be able to put line breaks and/or carrage return coded into the text.

Anyone have any idea how to do this?

Thanks


Vadivel January 22nd, 2005 10:18 PM

Try replacing Chr(13) as <BR>
i.e.,
<%=Replace(StringComesHere, Chr(13), "<br>")%>

Best Regards
Vadivel

MVP ASP/ASP.NET
http://vadivel.thinkingms.com


All times are GMT -4. The time now is 09:53 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.