Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2014
    Posts
    3

    Angry search multi entries in only 1 menu

    I have form with multi select dropdown menu contain counties names enable me to choose more than one country , would like to use is it in a qry to return me all hotels in those different countries




    When I select only 1 country it work , but if I select more it return me nothing



    Pls. help
    I don't wont to use VBA only qrys or macros

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    How is this a multi-select dropdown - is it a combobox bound to a multi-value field? Sorry, query and macro cannot do this with a multi-select combobox.

    Can use a multi-select listbox and then VBA code to loop through listbox to build a comma separated string. http://allenbrowne.com/ser-50.html

    Alternative may be to have yes/no field in Countries table. Bind a checkbox to this field. User selects countries.

    Then a query that joins Countries table with Hotels table can be filtered by the Yes/No field.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 25
    Last Post: 05-13-2014, 12:06 PM
  2. Replies: 2
    Last Post: 05-07-2014, 10:24 AM
  3. Multi-field Search
    By bubba61 in forum Queries
    Replies: 20
    Last Post: 04-16-2013, 10:21 AM
  4. Navigation Menu and Search Form error
    By pbouk in forum Forms
    Replies: 5
    Last Post: 03-06-2013, 12:42 PM
  5. Multi select search
    By simba in forum Access
    Replies: 2
    Last Post: 08-22-2011, 08:28 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums