case-sensitivity (ASP VB)

Ask a Question related to Macromedia Dreamweaver, Design and Development.

  1. #1

    Default case-sensitivity (ASP VB)

    My database is case-sensitive, so when a user inputs geg instead of GEG, it doesn't recognize. I tried putting LIKE instead of = in the SQL, but that makes no difference.

    Is there a way to set the parameters of my form variable so the input is Upper Case only?



    stewboy webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. Sandboxes and case-sensitivity
      Sandbox security is ran through the JVM, and JAVA is case sensitive. So more and likely there will not be a fix for it. It has been this way since...
    2. INSTR function and case sensitivity
      I am using the INSTR function to do a match on a text field that collects form data with the same field in my database. It isn't finding a match if...
    3. Case sensitivity
      I feel silly posting this basic question but I don't know where to post this. Most websites handle case-sensitivity when the user manually types...
    4. #23026 [Com]: Make Zend case-sensitive (classes, functions, remove case-insensitive)
      ID: 23026 Comment by: nvivo at mandic dot com dot br Reported By: mfischer@php.net Status: Open Bug Type: ...
    5. retrieve HTTP_HOST with case-sensitivity (as entered on the client)?
      This doesn't seem like it should be *that* difficult, but after quite some time trying to figure it out, I'm still banging my head against the...
  3. #2

    Default Re: case-sensitivity (ASP VB)

    Hi,

    strTemp = ucase(request.form("fieldname"))

    Jon

    "stewboy" <webforumsuser@macromedia.com> wrote in message
    news:bf9l9q$c0v$1@forums.macromedia.com...
    > My database is case-sensitive, so when a user inputs geg instead of GEG,
    it doesn't recognize. I tried putting LIKE instead of = in the SQL, but that
    makes no difference.
    >
    > Is there a way to set the parameters of my form variable so the input is
    Upper Case only?
    >
    >

    jon spivey Guest

  4. #3

    Default Re: case-sensitivity (ASP VB)

    change your SQL statement to check for uppercase

    ....
    Where Upper( field1 ) = Upper ( parameter )

    On Fri, 18 Jul 2003 20:28:42 +0000 (UTC), "stewboy"
    [email]webforumsuser@macromedia.com[/email] wrote:
    >My database is case-sensitive, so when a user inputs geg instead of GEG, it doesn't recognize. I tried putting LIKE instead of = in the SQL, but that makes no difference.
    >
    >Is there a way to set the parameters of my form variable so the input is Upper Case only?
    >
    >
    Ed 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