Results 1 to 2 of 2
  1. #1
    PoolHallJunkie is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2014
    Posts
    14

    Using a Multi select list box to pass parameters to a query

    Hello,



    I have created a search form which I would like to use to run a query (so the data is in a spreadsheet form and I can export it).

    In this search form I have a multi select list box (simple) that list the states in the US. I need to be able to pass 1 or more states as a search criteria at the same time. Also I need it to pull ALL states if there is nothing selected. The search form has a bunch of fields on it that won't all be used.

    I know once you select more than one thing from a list you can't reference it directly, is there a way to accomplish what I want to do?

    Thanks
    PHJ

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    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: 14
    Last Post: 02-19-2013, 03:16 PM
  2. Multi select list box and DELETE query
    By thart21 in forum Programming
    Replies: 1
    Last Post: 01-08-2012, 08:47 PM
  3. Replies: 11
    Last Post: 09-22-2011, 01:13 PM
  4. Multi-Select List Box as Criteria in Query
    By broadwat in forum Queries
    Replies: 6
    Last Post: 09-19-2011, 07:47 AM
  5. Replies: 4
    Last Post: 07-27-2011, 09:52 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