Formatting/Carriage returns not displayed in output.asp

Ask a Question related to ASP Components, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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: ...
    2. 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...
    3. 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...
    4. 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
    5. 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...
  3. #2

    Default 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...
    > 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
    >
    >
    >

    Adrian Forbes [ASP MVP] Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139