Ezekiël said:
Can you give me an example?
Here's the example you gave...
I've got duplicate records but i want to compare which one i can drop.
e.g. record 1
field1 = 1
field2 = 10
field3 = 100
record 2
field1 = 1
field2 = 10
field3 = 101
In this thread, I believe you've described these two records as "matching".
If the only field you are considering as "matching" is field1, then use the
Query Wizard, select "find duplicate...", select the table, select only
field1, and run it. Given the two records you gave, the query should return
a row saying that field1 is duplicated.
If you are considering field2 as also part of what "matches", then also
include that field in the above query.
When this "find duplicates..." query is working, you will know which records
have more than one "match" on the field(s) you have selected.
Of the two records you gave, which one do you wish to eliminate? How did
you decide? How do you propose to tell Access how to decide?
If this doesn't work for you, respond back. There are other approaches we
can try.
Good luck
Jeff Boyce
<Access MVP>