Delete Multiple records

  • Thread starter Thread starter nintendomasta811
  • Start date Start date
N

nintendomasta811

Hi there,
I'm trying to make a query in which I delete records from a table
based on multiple occurrances. I want to delete records if a
particular field has another equal within the table. For example, if
the "Name" field had two values called "Bob" I would want the delete
query to eliminate BOTH records. How is this attainable?

Thanks in advance.
 
Look at the Find Duplicates query wizard in Access. It creates a Select
query, but you can make it into a delete query.
 
Go to the database window and Queries. Click new and you will see that one
of the options is a duplicates query. Select that option and follow the
directions. When the query is created, open it in design view. Click on the
Type Of Query button in the menu at the top of the screen. Change the query
to a Delete query. When you open that query, manually or in code, it will
delete all your duplicates.

PC Datasheet
Providing Customers A Resource For Help With Access, Excel And Word
Applications
(e-mail address removed)
 

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