This is a discussion on Re: Formatting/Carriage returns not displayed in output.asp - Inetserver ; Although it is good to provide as much info as possible, please don't post 200k of data such as databases and asp pages etc unless it is neccessary or asked for. All you needed to do, in this instance, is ...
Although it is good to provide as much info as possible, please don't post
200k of data such as databases and asp pages etc unless it is neccessary or
asked for. All you needed to do, in this instance, is post the description
of your problem.
If you have carriage returns in text stored in your DB and you want that
shown on screen;
sMyText = objRS("MyTextField")
Response.Write Replace(sMyText, vbCRLF, "<br>")
Basically you are replacing the carriage return (vbCRLF) with the HTML equiv
(<br>).
"Doc Wally" <notimeforspam@spam.com> wrote in message
news:W_Bhb.44943$Ri4.17297393@news4.srv.hcvlny.cv.net...
> Dear Colleagues:
>
>
>
> To begin with I am not a programmer. In fact, I just got all excited
> because I was able to create my very first .vbs script that actually
> worked - not that I actually coded it, I took bits and pieces from here
and
> there and boom, it worked.
>
>
>
> As lame as it is, I have used Front Page 2002 and its form/database
creation
> tools to create an input.asp page, a input.msd access database file as
well
> as an output.asp page going the DNS-Less route. As you guessed it, people
> stick information into the input.asp document and then it spits out to the
> output.asp file with the data stored in the actual fpdb directory which
> holds simple Access databases.
>
>
> Here is my dilemma.
>
>
>
> When people either cut/paste things into the MEMO field of their input
form
> formatting, carriage returns, etc, are not carried over to the output.
>
>
>
> Essentially
>
> They
>
> Want their
>
> Information
>
> To sort of come out
>
> Looking like this
>
>
>
> (Ideally with all of the boldface, underlines, etc. that they are oh so
> attached to after using MS Word)
>
>
>
> No matter how you enter it into the input form the information comes out
in
> one long, continuous stream.
>
>
>
> I have attached herewith the input, output and actual database files and
if
> there is anybody out there who could give me some advise it would be
greatly
> appreciated.
>
>
>
> Regards,
>
>
>
> Doc Wally
>
>
>