Results 1 to 2 of 2

Thread: Tracing duplicated data entries

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2002
    Posts
    24

    Tracing duplicated data entries

    How to trace out duplicated data entries in MS Access?

  2. #2
    PowerPoster Beacon's Avatar
    Join Date
    Jan 2001
    Location
    Pub Floor
    Posts
    3,188
    Well in Access you can just set the field properties to not allow Duplicate entries!
    Let it do the work for you.

    Else if you have to for some reason use as SQL statement:

    VB Code:
    1. SELECT DISTINCTROW First(TABLENAME.FIELDName) AS [FIELDName Field], Count(TABLENAME.FIELDName) AS NumberOfDups
    2. FROM TABLENAME
    3. GROUP BY TABLENAME.FIELDNAME
    4. HAVING (((Count(TABLENAME.FIELDNAME))>1));

    later
    b

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width