Delete Duplicate Records

  • Thread starter Thread starter NeonSky via AccessMonster.com
  • Start date Start date
N

NeonSky via AccessMonster.com

Hello All!

I have record "A" and record "B" in table "Zoo". Record "A" and record "B"
are exactly the same. I would like to delete record "A" and keep record "B".

Happy to provide additional info.

As always thanks very much!
 
First, if they are truly "exactly the same", why have you chosen "B"? Would
it be enough to get rid of ONE of them?

One approach would be to create a query that returns all the fields, then
modify the query's UniqueValues property to Yes. This should return one of
each unique records.

You could then append these unique records to a new table.

The downside/risk is that you could lose the connection to any related
("child") records...

Regards

Jeff Boyce
Microsoft Office/Access MVP
 
Thanks for getting the wheels turning Jeff, I have since figured out how to
accomplish what I set out to do. Though your approach is very interesting and
I will keep it in mind in the future. Thanks!
Jeff said:
First, if they are truly "exactly the same", why have you chosen "B"? Would
it be enough to get rid of ONE of them?

One approach would be to create a query that returns all the fields, then
modify the query's UniqueValues property to Yes. This should return one of
each unique records.

You could then append these unique records to a new table.

The downside/risk is that you could lose the connection to any related
("child") records...

Regards

Jeff Boyce
Microsoft Office/Access MVP
Hello All!
[quoted text clipped - 5 lines]
As always thanks very much!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top