Cant display a value that contains a + Sign

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

  1. #1

    Default Cant display a value that contains a + Sign

    Hi

    Im pulling out of my dbase a record nuber however when I response.write it I
    get strange results:

    Ie:

    r = RS1("recid")
    response.write r

    and I get: A9G1KZM(+

    the real value is: A9G1KZM(+<WUY3I

    When I view the html source i actually see A9G1KZM(+<WUY3I but when viewed I
    see A9G1KZM(+

    Pointers appreciated.

    Regards
    John Berman
    john_




    John Berman Guest

  2. Similar Questions and Discussions

    1. No + (plus sign)
      I am not new to web design in general however i am trying new skills for cold fusion. i have completed the first tutorial that comes with coldfusion...
    2. Multiple DB Columns display in <cfselect display>
      *disclaimer* -- I'm a CF n00b. Hello all,
    3. Sign In/Sign Out like macromedia page
      I would like to add a sign in link that after you are signed in changes to sign out like on the top of the macromedia site. If anyone can help with...
    4. minus sign proportion to + sign in bold
      Does anyone know how to make a minus sign that is proportional to a plus sign (+) in bold in Freehand?
    5. LG 700S monitor display does not work for 1024x768 display
      Hello, I have a LG 700S 17 inch monitor which does not work for the display setting of 1024X768 in Red Hat Linux 8.0. Has anyone of you having...
  3. #2

    Default Re: Cant display a value that contains a + Sign

    John Berman wrote:
    > Hi
    >
    > Im pulling out of my dbase a record nuber however when I
    > response.write it I get strange results:
    >
    > Ie:
    >
    > r = RS1("recid")
    > response.write r
    >
    > and I get: A9G1KZM(+
    >
    > the real value is: A9G1KZM(+<WUY3I
    >
    > When I view the html source i actually see A9G1KZM(+<WUY3I but when
    > viewed I see A9G1KZM(+
    >
    > Pointers appreciated.
    >
    > Regards
    > John Berman
    > john_
    Use
    response.write server.htmlendcode(r)

    Bob Barrows


    --
    Microsoft MVP - ASP/ASP.NET
    Please reply to the newsgroup. This email account is my spam trap so I
    don't check it very often. If you must reply off-line, then remove the
    "NO SPAM"


    Bob Barrows Guest

  4. #3

    Default Re: Cant display a value that contains a + Sign

    Thanks, my server does not suport that object. But I assume its just a
    display issue ?

    Regards

    John Berman

    "Bob Barrows" <reb01501@NOyahoo.SPAMcom> wrote in message
    news:upgdkEf$DHA.684@tk2msftngp13.phx.gbl...
    > John Berman wrote:
    > > Hi
    > >
    > > Im pulling out of my dbase a record nuber however when I
    > > response.write it I get strange results:
    > >
    > > Ie:
    > >
    > > r = RS1("recid")
    > > response.write r
    > >
    > > and I get: A9G1KZM(+
    > >
    > > the real value is: A9G1KZM(+<WUY3I
    > >
    > > When I view the html source i actually see A9G1KZM(+<WUY3I but when
    > > viewed I see A9G1KZM(+
    > >
    > > Pointers appreciated.
    > >
    > > Regards
    > > John Berman
    > > john_
    >
    > Use
    > response.write server.htmlendcode(r)
    >
    > Bob Barrows
    >
    >
    > --
    > Microsoft MVP - ASP/ASP.NET
    > Please reply to the newsgroup. This email account is my spam trap so I
    > don't check it very often. If you must reply off-line, then remove the
    > "NO SPAM"
    >
    >

    John Berman Guest

  5. #4

    Default Re: Cant display a value that contains a + Sign

    John Berman wrote:
    > Thanks, my server does not suport that object. But I assume its just a
    > display issue ?
    >
    It was a typo.
    server.htmlencode(r)



    --
    Microsoft MVP - ASP/ASP.NET
    Please reply to the newsgroup. This email account is my spam trap so I
    don't check it very often. If you must reply off-line, then remove the
    "NO SPAM"


    Bob Barrows Guest

  6. #5

    Default Re: Cant display a value that contains a + Sign

    "Bob Barrows" wrote:
    : John Berman wrote:
    : > Thanks, my server does not suport that object. But I assume its just a
    : > display issue ?
    : >
    : It was a typo.
    : server.htmlencode(r)

    Isn't server.htmlendcode the closing tag for server.htmlstartcode? (O:=


    Roland Hall 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