Results 1 to 3 of 3
  1. #1
    HDobler is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2013
    Posts
    7

    Finding values that are duplicated so I can Create an NO DUPLICATES index

    I am using Access 2010 32-bit on a Windows 7 64-bit platform.

    I have a database that I have imported existing data into. For the most part, I have eliminated duplicate entries in my Item Number field.

    Obviously I have missed at least one (or possibly more) duplicates. When I try to create a NO DUPLICATES index, I am informed that there are duplicate entries.



    I am looking for a quick way to generate a list of values that are duplicated so I can address those and correct them.

    Item number field is a number field of type DOUBLE with 2 decimal places.

    Thank you in advance for suggestions.

    HDobler

  2. #2
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    This is really easy to do with an Aggregate Query. Here is how:

    1. Create a new query.
    2. Add the field you want to check for duplicates to the query TWICE
    3. Click on the Totals icon (looks like a Sigma)
    4. This will add a Totals Row under each field in Query Builder with the words "Group By" under each field. Under your second field, change "Group By" to "Count"
    5. On the Criteria row under that second field you just changed, enter the criteria: > 1

    Now view your query. It will show you all entries that have more than one listing.

  3. #3
    HDobler is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2013
    Posts
    7
    Thank you Joe.

    That work great and is very easy.

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

Similar Threads

  1. Blank duplicated values
    By uframos in forum Queries
    Replies: 3
    Last Post: 03-25-2013, 12:46 PM
  2. Replies: 4
    Last Post: 10-11-2012, 07:40 AM
  3. Replies: 1
    Last Post: 05-02-2012, 01:33 PM
  4. Duplicated values in query
    By truent in forum Queries
    Replies: 6
    Last Post: 03-03-2012, 01:45 PM
  5. Replies: 4
    Last Post: 10-28-2011, 12:49 PM

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