On Tue, 14 Feb 2006 13:31:26 -0800, "Campaign Staffer" <Campaign
What if I don't have access to the Duplicates Wizard and want to first: Get a
numerical value for the number of duplicate addresses in a table then second:
eliminate the duplicates so only a singel record for that address remains?
Create a Totals Query. Create a new query based on your table; select
the Primary Key field and whatever other fields jointly identify a
duplicate (e.g. you don't want to just use LastName to identify
duplicates because two people might have the same last name - or even
firstname, lastname and phonenumber, as in Joe Doakes and Joe Doakes
Jr.)
Group By the fields which constitute the dups, and select Count on the
totals row under the Primary Key. Put a criterion of >1 on this field
if you don't want to see singletons, only duplicates.
If there are additional fields which can legitimately be different
while still considering the record to be a duplicate, you'll need to
decide WHICH near-duplicate you want to keep. It may be simplest to
just use a continuous Form sorted by the duplicate-defining fields and
manually delete; or you can use a Delete Query using the duplicates
query as a subquery. This can be a bit tricky to set up and have it be
updateable; more details of your table structure and criteria for
deletion would be helpful!
John W. Vinson[MVP]