Results 1 to 3 of 3
  1. #1
    enquiries is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Nov 2013
    Location
    Samoa
    Posts
    69

    Ignoring duplicates in table field values that is for a combo box drop down list

    Hi there,

    I'm trying to create a combo box that takes its values from a field in a table, the thing is that this field has duplicates because:
    * The table is a qualification look up table
    * It has 3 fields: QualificationID (autonumber), Qualification(e.g. Bachelor), Programme (e.g. Science)


    * E.g of duplicate values (this is not a problem as it is necessary) Bachelor of Science, Diploma of Science, Certificate of Science

    What I'm trying to do is create 2 single-columned combo boxes that are a parameter for a query and it's working except the combo boxes show duplicated values
    Is there a way to get the query that is the row source for the combo box to eliminate duplicates?

    Any help, much appreciated
    Thanks

  2. #2
    trevor40's Avatar
    trevor40 is offline Advanced db Manager
    Windows XP Access 2003
    Join Date
    Feb 2014
    Location
    Australia
    Posts
    402
    you will need to base the combobox record source on a totals query, add the field to the query and select totals. the field will show group by. use this as the source of the combobox. there is also an option to use distinct, but i've never needed to use that.

  3. #3
    enquiries is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Nov 2013
    Location
    Samoa
    Posts
    69
    Works Perfect!!! Thanks, that's exactly what I needed.

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

Similar Threads

  1. Replies: 1
    Last Post: 05-27-2013, 09:46 PM
  2. Drop-down list values selection
    By Haleakala17 in forum Forms
    Replies: 2
    Last Post: 09-29-2012, 03:59 PM
  3. Table drop down list filter
    By jbataille86 in forum Access
    Replies: 2
    Last Post: 08-05-2011, 08:37 AM
  4. Combo Box - Field List Values
    By jennyaccord in forum Forms
    Replies: 5
    Last Post: 07-29-2011, 01:49 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

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