Ask a Question related to ASP Components, Design and Development.
-
Ray at #1
Re: Formatting/Carriage returns not displayed in output.asp
PLEASE DON'T MULTIPOST.
PLEASE DON'T POST ATTACHMENTS.
PLEASE DON'T DOUBLE-POST.
Ray at work
Ray at Guest
-
Removing carriage returns...
Here is the code that I am using to try and remove the Carriage Returns and Line Feeds and replace them both with spaces: ... -
replacing carriage returns?
so... i'm trying to remove all carriage returns in the input i get from GET, and am trying to replace them with three dots... however, this... -
Carriage returns/formatting not displayed in output.asp
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... -
Carriage returns/output not displayed in output.asp
PLEASE DON'T MULTIPOST. PLEASE DON'T POST ATTACHMENTS. PLEASE DON'T DOUBLE-POST. Ray at work -
Extra carriage returns - why?
John Andrews wrote: From previous post in thread: perl -pe 's/NEVERFOUND/NEVERFOUND/g' < foo > bar Hmmmmmm...I was unable to duplicate... -
Adrian Forbes [ASP MVP] #2
Re: Formatting/Carriage returns not displayed in output.asp
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...and> 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 herecreation> there and boom, it worked.
>
>
>
> As lame as it is, I have used Front Page 2002 and its form/databasewell> tools to create an input.asp page, a input.msd access database file asform> 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 inputin> 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 outif> one long, continuous stream.
>
>
>
> I have attached herewith the input, output and actual database files andgreatly> there is anybody out there who could give me some advise it would be> appreciated.
>
>
>
> Regards,
>
>
>
> Doc Wally
>
>
>
Adrian Forbes [ASP MVP] Guest



Reply With Quote

