Results 1 to 4 of 4
  1. #1
    vector39 is offline Advanced Beginner
    Windows 8 Access 2010 32bit
    Join Date
    May 2017
    Posts
    76

    Display field items only once in combo box

    Hi everyone,



    Just curious, how can I display items in a field in a combo box only once? I tried doing, Lookup Wizard > I want the lookup field to get the values from another table or query > tblName > fieldName (ascending)

    But what I see is:
    N/A
    N/A
    N/A
    Community
    Community
    MULTI
    Clinical
    Clinical
    Clincal
    ...you get the idea

    There's 18 items in this field, how do I display each item only once in the combo box?

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    set the query property of the combo to UNIQUE VALUES = TRUE

  3. #3
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    Try a row source of

    SELECT DISTINCT FieldName FROM TableName

    using your actual table and field names.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  4. #4
    vector39 is offline Advanced Beginner
    Windows 8 Access 2010 32bit
    Join Date
    May 2017
    Posts
    76
    Thank you!

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

Similar Threads

  1. Replies: 2
    Last Post: 08-05-2015, 04:06 PM
  2. Replies: 1
    Last Post: 12-05-2013, 01:15 PM
  3. combo box display field name on textbox
    By ultra5219 in forum Access
    Replies: 4
    Last Post: 05-21-2013, 02:43 PM
  4. Replies: 6
    Last Post: 06-13-2011, 12:14 PM
  5. Replies: 2
    Last Post: 09-22-2010, 09:26 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