SQL Query with Radio Buttons

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

  1. #1

    Default SQL Query with Radio Buttons

    I'm running a search from my web page with multiple criteria. One of the
    criteria is a section called Pay Range. I have radio buttons set up for the
    following options: Range 1 2 3 4 Any I can match up a result from the
    database if their is a candidate with a pay range of either 1, 2, 3, or 4. But
    how do I pass along to the query that range doesn't matter if 'Any' is
    selected. Is there some sort of 'IF' type statement or logic that I can
    build into my SQL query to ignore this criteria if 'ANY' is selected? Thank you

    virtual1 Guest

  2. Similar Questions and Discussions

    1. help with radio buttons
      I need some help with my radio buttons. I have 3 radio buttons in my form. Now when one is selected and the form is submitted they all go to the...
    2. Radio Buttons
      hi, can you let me know how to clear a radio button when the screen is loaded up again
    3. Flash MX 2004: Making radio buttons without using the radio buttoncomponent
      Hello Can anyway suggest a good guide for making radio buttons without the radio button component? I'm new to Flash, but I've gotten to the point...
    4. XML into radio buttons
      Hi, I am trying to attachMovie an XML file into a list radio buttons. Can anybody show me a clue on how to do that? Any comment, code, web site...
    5. Radio buttons help
      Try Using The Following: radioButtonName.setStyle("color", 0xFFFFFF); Replace The "FFFFFF" With The Hex Code For Whatever Colour You Want.
  3. #2

    Default Re: SQL Query with Radio Buttons

    Hello,
    You have a couple of options. When you are building the SQL if the
    visitor selects any you can leave the criteria for range out or you can
    use a wildcard to select any range. It really depends on your comfort
    level and database.

    If you need a hand, feel free to drop me a line.

    Thanks.

    Chris
    virtual1 wrote:
    > I'm running a search from my web page with multiple criteria. One of the
    > criteria is a section called Pay Range. I have radio buttons set up for the
    > following options: Range 1 2 3 4 Any I can match up a result from the
    > database if their is a candidate with a pay range of either 1, 2, 3, or 4. But
    > how do I pass along to the query that range doesn't matter if 'Any' is
    > selected. Is there some sort of 'IF' type statement or logic that I can
    > build into my SQL query to ignore this criteria if 'ANY' is selected? Thank you
    >
    Chris Seymour 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