Create a saved maketable query named, say, qryGetDup:
SELECT [yourDupFieldName] INTO tblDup
FROM [yourTable]
GROUP BY [yourDupFieldName]
HAVING Count(*)>1;
Then the purge query:
DELETE FROM [yourTable] INNER JOIN tblDup
ON [yourTable].[yourDupFieldName]=tblDup.[yourDupFieldName];
Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.