Results 1 to 4 of 4
  1. #1
    dgwynn is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2012
    Posts
    6

    Combobox Filtered Search

    I have a search form with comboboxes that works well. What I'd like it to do is filter the choices available according to information entered in the previous box. For example, all drop down lists in each box will contain all information from tables/queries available but if I type in "Smith" in the Last Name box, I'd like the First Name drop down list to show only first names available for those students with the last name of "Smith." Any suggestions?

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,724

  3. #3
    dgwynn is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2012
    Posts
    6
    Thank you, orange. Works very well! Another question, if I may. Is there a way to search the contents of multiple fields from a single combo box and return all results?

  4. #4
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,724
    It's better (simpler) to have a separate textbox for each field to be searched.
    see http://www.datapigtechnologies.com/f...earchform.html

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

Similar Threads

  1. Combobox Search Changing Unit #'s
    By leamas in forum Forms
    Replies: 3
    Last Post: 06-22-2012, 04:30 PM
  2. Wildcard search within ComboBox to control RowSource
    By CaptainKen in forum Programming
    Replies: 22
    Last Post: 05-16-2012, 02:19 PM
  3. How to LinkUp Combobox for Report search.
    By cap.zadi in forum Reports
    Replies: 3
    Last Post: 12-03-2011, 07:59 AM
  4. ComboBox Search - No Results
    By cvansickle in forum Forms
    Replies: 5
    Last Post: 03-27-2011, 03:37 PM
  5. Replies: 1
    Last Post: 10-24-2010, 04:01 PM

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