G
Guest
I have a table which is created daily from external sources. It has fields
Ckey, Mkey, Description, Date and numerous description fleids which are
different for each record.
Mkey is a unique reference for each record genrated from an autonumber.
My problem is duplicates in the Ckey field - i want to eliminate them, using
only the record that has the lowest Mkey number!
for example i may have
Ckey Mkey (desc fields....)
1 50
2 51
2 52
2 53
3 54
and i want to eliminate the records with mkey 52, 53 from the table. This is
somethiing i may need to do regulary. I;m thinking about using the find
dupes query then a delete query, but i dont want to delete all the dupes - i
want to keep the one that has the lowest mkey, so that eventually each ckey
occurence is unique!
Any ideas? i'm pretty new to access, and in setting up the table have
currently defines mkey as my primary key.
I need the resultant query/amended table to return all the original fields...
Please help!
Ckey, Mkey, Description, Date and numerous description fleids which are
different for each record.
Mkey is a unique reference for each record genrated from an autonumber.
My problem is duplicates in the Ckey field - i want to eliminate them, using
only the record that has the lowest Mkey number!
for example i may have
Ckey Mkey (desc fields....)
1 50
2 51
2 52
2 53
3 54
and i want to eliminate the records with mkey 52, 53 from the table. This is
somethiing i may need to do regulary. I;m thinking about using the find
dupes query then a delete query, but i dont want to delete all the dupes - i
want to keep the one that has the lowest mkey, so that eventually each ckey
occurence is unique!
Any ideas? i'm pretty new to access, and in setting up the table have
currently defines mkey as my primary key.
I need the resultant query/amended table to return all the original fields...
Please help!