Searching A Database Using Greater & Lesser Than

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

  1. #1

    Default Searching A Database Using Greater & Lesser Than

    I have a database with a field called "Value" in one of my tables. This field
    is just set as number. I want to be able to search this field so that users can
    bring up records in the database. How can i get it working so that instead of
    have a long dropdown list of all the values i can just have a search that
    offers the user the option to use Greater than "A Value" or Less Than "A Value"

    Any help or tutorials would be greatly appreciated.

    Many Thanks

    Choole Guest

  2. Similar Questions and Discussions

    1. searching for record before adding to database
      Hi all, Im creating a form, and I can now add and save the record. However, since we are concern on duplicate records, I use email as the field...
    2. Searching MS Database
      Hello. I'm trying to develope ASP Javascript pages that search an MS Access Database. The first page of the application offers 4 ways to search,...
    3. Searching database problem
      Having an issue. Trying to create an ASP search page that queries SQL 2k database based on some set and some variable criteria. The problem, I...
    4. Login greater than 8 Characters
      <color><param>0100,0100,0100</param>Hi All, <underline>Tech Specs:</underline> IDS - 7.31.UD5W5, Solaris 8 Is there a way to have a Login...
    5. Searching a database .... query optimization (how do I read the explain on output?)
      I've got a more-or-less open search of the database in question, which works just fine, if you don't mind the upwards of 20+ seconds it takes to...
  3. #2

    Default Re: Searching A Database Using Greater & Lesser Than

    SELECT *
    FROM tbl_mytable
    WHERE fieldA >= '0' AND fieldA <= '1000'


    --
    Bill
    Real Estate Web Sites Made Easy
    [url]www.DataPacks.com[/url]


    "Choole" <webforumsuser@macromedia.com> wrote in message
    news:d1ool1$fpd$1@forums.macromedia.com...
    >I have a database with a field called "Value" in one of my tables. This
    >field
    > is just set as number. I want to be able to search this field so that
    > users can
    > bring up records in the database. How can i get it working so that instead
    > of
    > have a long dropdown list of all the values i can just have a search that
    > offers the user the option to use Greater than "A Value" or Less Than "A
    > Value"
    >
    > Any help or tutorials would be greatly appreciated.
    >
    > Many Thanks
    >

    BillB 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