Search using Combo Boxes

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

  1. #1

    Default Search using Combo Boxes

    Hi guys I have 3 combo boxes in a search form. A user makes a selection form
    these combo boxes, clicks on search and all results based upon that search are
    displayed. The problem is that users have to make a selection from all 3 boxes
    in order for results to be displayed. If a users selects just one or two boxes
    no results are displayed. Does anyone know how I can build a search in which
    it will display data based on what they have selected, no matter if 1 or 2
    combo boxes have been selected. Here is the SQL I am using: SELECT
    hpamidas.tbl_manufacturers.Manufacturer,
    hpamidas.tbl_manufacturers.Manufacturer_ID, hpamidas.tbl_products.Kit_Name,
    hpamidas.tbl_products.Marker, hpamidas.tbl_products.Detection,
    hpamidas.tbl_products.Format, hpamidas.tbl_products.Ce_marked,
    hpamidas.tbl_products.image_url, hpamidas.tbl_products.pdf_url FROM
    hpamidas.tbl_manufacturers FULL OUTER JOIN hpamidas.tbl_products ON
    hpamidas.tbl_manufacturers.Manufacturer_ID =
    hpamidas.tbl_products.Manufacturer_ID WHERE hpamidas.tbl_products.Marker =
    'MMColParam' AND hpamidas.tbl_products.Detection = 'MMColParam2' AND
    hpamidas.tbl_products.Format = 'MMColParam3' ORDER BY
    hpamidas.tbl_manufacturers.Manufacturer ASC I know that the problem is me
    using AND but I do not know an alternative, OR does not work I am using ASP
    VBSctipt and SQL Server 2000. Any help would be great

    patelajk Guest

  2. Similar Questions and Discussions

    1. Need help with xml and combo boxes
      Basically what im doing is a ui for a electronic book. The book is broken into 3 parts and each part has its own set of chapters. My xml schema...
    2. XML, Web Services & Combo Boxes
      We have an existing webservice which returns one thing - a string which is XML , along the lines of <root>...
    3. Combo boxes
      I have a combo box on one form with has a row source of 2 fields, an item number and item name. I item number width is 0 so it only displays the...
    4. Iframe and combo boxes
      Hi, I want to link 2 drop down menus together, so that the info of one filter the info of the second without reloading the page. I understand...
    5. Populating several combo boxes
      I have a form that will have a combo box repeated several times (continuous form, one for each record), it's going to cause a problem if each has to...
  3. #2

    Default Re: Search using Combo Boxes

    Have a look at my 'select all' demo

    [url]http://www.charon.co.uk/files.aspx?categoryid=15&filecategoryid=10[/url]

    --
    Jules
    [url]http://www.charon.co.uk/charoncart[/url]
    Charon Cart 3
    Shopping Cart Extension for Dreamweaver MX/MX 2004


    Julian Roberts 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