Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access memo field, HTML text area field, response.write...help me?

Status
Not open for further replies.

Webrookie

Programmer
May 18, 2000
112
US
I have an HTML form with a textarea input.&nbsp;&nbsp;When the form is submitted, I have and adodb.recordset object that stores the textarea text into an access table memo field.<br><br>Now, I want to preserve carriage returns and line feeds that the user keys into the text area.&nbsp;&nbsp;If I simply store the data into the memo field as is with no intrusion on my part, and do a response.write the memo field, It merely puts a space where there should be a crlf.&nbsp;&nbsp;If I do a response.write of each asc(character) in the memo field, it actually stores the proper codes for the crlf (i.e. 1310).<br><br>So then I went through and found all the 1310 values in the field and replaced them with chr(13)chr(10).&nbsp;&nbsp;Guess what?&nbsp;&nbsp;Now, in the memo field of the access table, I can actually scroll down in the field, and it's how I want it.&nbsp;&nbsp;But if I try and reponse.write it, I still get spaces instead of crlf's.&nbsp;&nbsp;<br><br>All I want to do is spit back the memo field as it was entered in the textarea.&nbsp;&nbsp;Any ideas?&nbsp;&nbsp;help me?&nbsp;&nbsp;please?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top