Solved

How do I separate duplicates to a separate table?

Posted on 2006-11-17
4
199 Views
Last Modified: 2012-06-21
I am trying to take all records that have a duplicate in a particular column and put them in a separate table. Is this possible? Please help with any ideas. Thanks.
0
Comment
Question by:bemara57
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 84
ID: 17965206
Do you mean you are moving the entire record to another table? You can do using several methods; for example, you can use a SQL Insert command:

Currentdb.Exectue "INSERT INTO SomeTable(Col1, Col2, Col3) VALUES(SELECT Val1, Val2, Val3 FROM AnotherTable WHERE YourColumn=YourDuplicateValue)"

0
 
LVL 4

Accepted Solution

by:
DoubleJ92 earned 500 total points
ID: 17965210
Use Access's find duplicates query wizard and then change the query type to a make table query.
0
 

Author Comment

by:bemara57
ID: 17965495
Wow DoubleJ92, that built in feature is off the chain! Pls excuse the slang, I'm just excited b/c that just saved me hours of work. Thanks!
0
 
LVL 4

Expert Comment

by:DoubleJ92
ID: 17965543
No problem. Glad I could help :)
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question