Results 1 to 3 of 3
  1. #1
    annarene is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2008
    Posts
    3

    How to create a search drop down that has 2 columns and want to search on the unbound

    Hello: I'm working in Access 2010. I have a simple form that is bound to table "Jobs" in which the key field is job number.

    I want to create a search drop down. I need it to display both the job number and the customer name; and I would like the user to be able to start typing the customer name in the dropdown and for the drop down to pull it up as I'm typing it.



    I create a simple query for the row source of my drop down:

    SELECT Jobs.Job_Number, Customers.Customer_Name
    FROM Jobs LEFT JOIN Customers ON Jobs.Job_Number = Customers.Job_Number;

    When I run the query, I get both columns.

    I set the bound column to 1.
    Column count = 2.
    Column widths =1";1"

    Go to run it and it displays only the job number in the drop down after I select. In addition, it does not filter at all.
    can you please guide me in the right dirrection? Any help is truly appreciated.

    Thanks,
    Proctor

  2. #2
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Maybe this will help you:

    http://allenbrowne.com/ser-03.html

  3. #3
    annarene is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2008
    Posts
    3
    yes, that did help quite alot! Thank you for sending me this.

    Proctor

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

Similar Threads

  1. How to search via drop down boxes
    By MaxP in forum Access
    Replies: 2
    Last Post: 01-12-2015, 10:13 AM
  2. Replies: 5
    Last Post: 07-13-2012, 01:15 AM
  3. Replies: 1
    Last Post: 04-27-2012, 10:30 AM
  4. Replies: 1
    Last Post: 02-20-2012, 10:56 PM
  5. Drop down combo box search has glitch??
    By robsworld78 in forum Forms
    Replies: 1
    Last Post: 06-02-2011, 08:06 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