1)
create the primary key and let access tell you if there a conflict
2)
create a query that counts the number of times each value of the field
that will become the primary key exists, ie
SELECT tblItem.itemId, Count(tblItem.itemId) AS CountOfitemId
FROM tblItem
GROUP BY tblItem.itemId
ORDER BY Count(tblItem.itemId) DESC;
leah wrote:
I encountered problem when i tried to create a primary key in an
existing table which does not have one yet. There are too many records
in it and it's hard to find out which one is 'duplicated'.
I'm not sure whether, if there is any duplicate records in the table.
How can i solve this problem?
Thanks
leah