Ghost,
I don't have any experience with delete duplicates queries, but
let me just say how I'd start out.
Caveat... trying to "automagically" delete dupes is dangerous
business, so First...back up your data, and Secondly... back it up again.
:-D
I'll also set aside the legitimate arguments against tryting to delete
dupes programmatically.
First, I'd build a query that... by whatever logic you use... identifies
"dupes" I'm thinking a Totals query. Your table should have an
incrementing unique keyfield, such as an autonumber, or I often use DOC
(DateOfCreation). This is so you can determine the oldest of the two
records.
So, we could use Count on any field ( = 2 or greater, must be a dupe),
and use Max on your key field.
Raw data...
RecID SomeData MoreData
1234 Bob Smith
1324 Bob Smith
After query....
RecID SomeData MoreData Count
1324 Bob Smith 2
Using this query as a pass-thru you would use RecID 1324 to find and
delete that record from the original table.
--
hth
Al Campagna
Microsoft Access MVP
http://home.comcast.net/~cccsolutions/index.html
"Find a job that you love... and you'll never work a day in your life."