Results 1 to 4 of 4
  1. #1
    bkvisler is offline Novice
    Windows XP Access 2007
    Join Date
    Aug 2010
    Posts
    22

    Query from a Combo Box Selection?


    This may be simple but i'm a newbie. How do you tell access to run a query based on a section a user has made from a dropdown menu? For example, i want users to be able to pick a name from a dropdown menu and have access bring up all records that include that name. Thanks in advance for the help.

  2. #2
    ConneXionLost's Avatar
    ConneXionLost is offline Simulacrum
    Windows XP Access 2003
    Join Date
    Jan 2010
    Location
    Victoria, Canada
    Posts
    291
    In the query design, add a criteria where the name must equal the value of the combo box on the form.

  3. #3
    bkvisler is offline Novice
    Windows XP Access 2007
    Join Date
    Aug 2010
    Posts
    22
    I understand what you are saying to do, however i dont know exactly what to type in the criteria line. Could you please be a little more specific. Please forgive my ignorance.

  4. #4
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    Quote Originally Posted by bkvisler View Post
    i want users to be able to pick a name from a dropdown menu and have access bring up all records that include that name.
    SELECT * FROM TABLE WHERE [NAME]=FORMS![name of your form here]![name of your combo here]

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

Similar Threads

  1. Pop-up Combo Box Record Selection
    By AKQTS in forum Forms
    Replies: 1
    Last Post: 08-11-2010, 01:01 PM
  2. Combo Box that doesn't allow selection
    By Ted C in forum Forms
    Replies: 20
    Last Post: 08-09-2010, 04:00 PM
  3. Change to selection in combo box
    By corystemp in forum Access
    Replies: 7
    Last Post: 06-28-2010, 10:20 AM
  4. Replies: 1
    Last Post: 08-26-2009, 10:45 AM
  5. Replies: 3
    Last Post: 02-26-2009, 10:17 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