Results 1 to 4 of 4
  1. #1
    glen is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2012
    Posts
    171

    Queries filter

    Hi friends,
    suppose we have a combo for a field named Location.
    now we have too many same names in location.


    I want to show just one time every name in combo.
    so what will be criteria?
    Thanks

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,848
    Use a DISTINCT in your Select statement (rowsource of the combo)

    Watch this free video tutorial http://www.datapigtechnologies.com/f...combobox1.html

  3. #3
    glen is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2012
    Posts
    171
    Thanks for you help.
    But I forgot to mention that every Location have also a unique id.
    1 XYZ
    2 XYZ
    3 ABC
    4 ABC
    which is not working in this method.

  4. #4
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,848
    So what exactly do you want? Unique values for the ABC, XYZ - then select Distinct whateverThatFldIsCalled from your Table.

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

Similar Threads

  1. Replies: 1
    Last Post: 08-16-2012, 01:51 PM
  2. Apply Filter similar to Field Filter
    By DatabaseIntern in forum Forms
    Replies: 1
    Last Post: 06-11-2012, 05:42 PM
  3. One filter for 3 Queries in Union Query
    By rlsublime in forum Access
    Replies: 3
    Last Post: 03-20-2012, 04:01 PM
  4. Replies: 28
    Last Post: 03-08-2012, 06:47 PM
  5. Filter for Multiple Queries/Combo Box
    By finance600man in forum Access
    Replies: 3
    Last Post: 08-09-2010, 06:31 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