Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<%
Function FormatStr(String)
on Error resume next
String = Replace(String, CHR(13), "")
String = Replace(String, CHR(10) & CHR(10), "</P><P>")
String = Replace(String, CHR(10), "<BR>")
FormatStr = String
End Function
%>
Here is the formated string:<br>
<%=FormatStr(to_html(rs.Fields("Memo_Field")))%>
[red]tarea=Replace(Request.form("textarea"),vbCRLF," ")[/red]
[blue]'tarea=Replace(Request.form("textarea"),vbCRLF,"<br/>")[/blue]
sSQL="INSERT INTO table1(mbody) Values('" & tarea & "')"
response.write sSQL
Set Connection = Server.CreateObject("ADODB.Connection")
sConnString="Driver={Microsoft Access Driver (*.mdb)};dbq=" & server.mappath("db1.mdb")
Connection.open sConnString
connection.execute sSQL