Results 1 to 4 of 4
  1. #1
    b2netman is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Apr 2016
    Location
    Minnesota USA
    Posts
    2

    Question Filter possible items in drop down box

    I am building a database in Access 2010, In the forms I have many drop down boxes that link to tables with possible options for that field. I would like to set it up so that when the user begins to type something in the field, a list automatically shows up, then only shows items that are possible. For example when the user types "A" a list of possible values for the field show up that start with "A", and the then when they type the next letter it narrows it down even further. Any help on this is much appreciated.

  2. #2
    davegri's Avatar
    davegri is offline Excess Access
    Windows 10 Access 2016
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,389
    Set the 'auto expand' property on the data tab of the combobox to YES.

  3. #3
    b2netman is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Apr 2016
    Location
    Minnesota USA
    Posts
    2
    Quote Originally Posted by davegri View Post
    Set the 'auto expand' property on the data tab of the combobox to YES.
    It is set to yes

    This is what I want to do
    Start typing in the field "Bin"
    and then the drop down box shows all the items in the link table that start with "Bin", you wouldn't see others like "Baked" or "Brick" just "Bin", "Binder", "Bingo" and then allow me to use arrow keys to tap down twice to choose "Bingo"

  4. #4
    davegri's Avatar
    davegri is offline Excess Access
    Windows 10 Access 2016
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,389
    OK. In the keydown event of the combobox:

    Code:
    Me.mycombobox.Dropdown

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

Similar Threads

  1. Filter from drop down in output report
    By Bertrand82 in forum Programming
    Replies: 3
    Last Post: 09-24-2014, 09:10 AM
  2. Drop-down menu items not all appearing in query
    By joannehellen in forum Queries
    Replies: 1
    Last Post: 01-23-2014, 09:45 AM
  3. I can't add anymore items to drop down box
    By Mostiko in forum Access
    Replies: 5
    Last Post: 11-20-2011, 08:11 AM
  4. Replies: 6
    Last Post: 07-10-2011, 05:33 PM
  5. Filter available values in a drop down list
    By petitmorsalin in forum Access
    Replies: 1
    Last Post: 12-13-2010, 09:39 AM

Tags for this Thread

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