If a user enters a carriage return in a textarea it will be stored - no need
to worry about the how. Keep in mind that you want to separate the content
(what they type in) from the presentation (how or where it gets displayed).
Take whatever they type into the textarea and shove it into the database.
Transform it appropriately depending on what it's used for *after*
retrieving it. If you're displaying it on a web page then you can replace
vbCrLf pairs with <br> tags and Server.HTMLEncode the rest.
Alan
"BCS" <bruce_schaaf@hotmail.com> wrote in message
news:e162e1fd.0406091534.566eb0ff@posting.google.c om...[color=blue]
> "Aaron [SQL Server MVP]" <ten.xoc@dnartreb.noraa> wrote in message[/color]
news:<OLKwEYkTEHA.1508@TK2MSFTNGP11.phx.gbl>...[color=blue][color=green][color=darkred]
> > > like <br> in the input. However, while this information gets stored
> > > in the Access database correctly, when it gets pulled out the page
> > > displays the actual tag on the page. In other words, it actually
> > > converts the "<" to "<" in the html so that it displays as "<" on
> > > the web page.[/color]
> >
> > What is "it"? Can you show the code that causes this bizarre symptom?
> >
> > Anyway, if you store plain text carriage returns in the database, you[/color][/color]
don't[color=blue][color=green]
> > need to teach all of your users HTML. Just replace them with HTML[/color][/color]
carriage[color=blue][color=green]
> > returns when you DISPLAY the data.
http://www.aspfaq.com/2188[/color]
>
> "it" is simply the text from the access database. All I am doing is
> trying to display a text field from the Access database onto a web
> page. So maybe it's an Access question. How do you get the Access
> database to store the carriage returns from the web form input page?[/color]