How do I find reoccurring data in a column?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm looking to set a column as a Primary key, but it keeps telling me that I
have reoccurring data, which I can't find? Is there a way to search for it?
 
Access has query wizard specifically to find duplicates; check it out.
-Ed
 
Replace 'tblTest' with the name of your table, and 'TestCur1' with the name
of the field in which you want to find duplicate values.

SELECT tblTest.TestCur1, Count(tblTest.TestCur1) AS CountOfTestCur1
FROM tblTest
GROUP BY tblTest.TestCur1
HAVING (((Count(tblTest.TestCur1))>1));
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top