Results 1 to 6 of 6
  1. #1
    lukker234 is offline Novice
    Windows 8 Access 2013
    Join Date
    Mar 2013
    Posts
    3

    Search using combo-box

    I am very new to Access and i have a problem, i have a table with information in it and i have to search in that table using a few combo boxes.


    but i am stuck at 1 point and that's when i press the search button i only get all the information from the table and not the information that i have selected using the combo-box.

    i hope that somebody can help me because i am stuck with this problem for a long time now.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    If you want to use comboboxes to enter filter criteria, must do this on a form, not in table.

    For one method review
    http://datapigtechnologies.com/flash...tomfilter.html
    http://datapigtechnologies.com/flash...earchform.html
    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.

  3. #3
    lukker234 is offline Novice
    Windows 8 Access 2013
    Join Date
    Mar 2013
    Posts
    3
    i'am sorry, i use a form to enter the filter criteria but after i selected all the information in the comboboxes the only result is that i get all the data from the table and not the one that i asked for in the form.

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    What method are you using to accomplish the filter? Have you tried the method shown in tutorials? Show relevant code for analysis.
    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.

  5. #5
    lukker234 is offline Novice
    Windows 8 Access 2013
    Join Date
    Mar 2013
    Posts
    3
    this is the situation now:
    - i have a table called "Dog"
    - from that table i have a query called "Dog Query" in here are a few rows
    - Gender
    - Born
    - Can it go in a car
    - Name
    - and i have a form called "Dog Form" and here are the combo boxes with the options from the Dog Query

    using this form and selecting the options from those 4 data rows, i want an new form popping up and giving me the result ( with a few dogs that meet the criteria that i gave using the combo boxes)

    i'm sorry for the way of explaining but i'm very new to this and its a school assignment

    i hope you can help me with this.

    i didn't used codes because i don't know what to write to get it to work, that's why i came to this forum.

  6. #6
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    The tutorials I referenced demonstrate technique to do that. Apply the technique to your situation.
    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: 7
    Last Post: 08-08-2012, 03:28 PM
  2. Replies: 1
    Last Post: 04-20-2012, 03:16 AM
  3. Combo Search
    By geraldk in forum Forms
    Replies: 1
    Last Post: 01-12-2012, 01:45 PM
  4. Search Combo Box
    By joesmithjunior in forum Access
    Replies: 3
    Last Post: 11-20-2011, 06:25 PM
  5. Replies: 4
    Last Post: 08-16-2011, 05:54 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