A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Duplicate Query



 
 
Thread Tools Display Modes
  #1  
Old February 14th, 2007, 07:09 PM posted to microsoft.public.access.queries
quest1914
external usenet poster
 
Posts: 3
Default Duplicate Query

I am attempting to find duplicate numbers by creating a new query in Access.
I have imported an excel file with multiple worksheets into access and would
like to find out what the duplicate numbers are and where they are located
without erasing/replacing the existing data. Not sure how to build the
query. Help please.
  #2  
Old February 14th, 2007, 10:31 PM posted to microsoft.public.access.queries
John W. Vinson
external usenet poster
 
Posts: 18,261
Default Duplicate Query

On Wed, 14 Feb 2007 11:09:13 -0800, quest1914
wrote:

I am attempting to find duplicate numbers by creating a new query in Access.
I have imported an excel file with multiple worksheets into access and would
like to find out what the duplicate numbers are and where they are located
without erasing/replacing the existing data. Not sure how to build the
query. Help please.


For starters, create a new Query, and use the "Find Duplicates" query
wizard.

John W. Vinson [MVP]
  #3  
Old February 14th, 2007, 11:02 PM posted to microsoft.public.access.queries
quest1914
external usenet poster
 
Posts: 3
Default Duplicate Query

My apologies, I should have stated that I did attempt the query wizard. I
went to Queries, New, Find Duplicate Query Wizard, and it produces a dialogue
box in which different tables are listed. It then asks if I want to view
Tables, Queries, or Both. No matter the selection, it comes back with a
message stating, "You must select a table or query that contains at least one
field that does not have the memo or OLE data type". I tried to just
manually build a query in Design View, but am not sure what to input in the
following fields, Field, Table, Sort, Show, Criteria, Or. Any further
direction on this one would be so appreciated. Thanks for your time.

"John W. Vinson" wrote:

On Wed, 14 Feb 2007 11:09:13 -0800, quest1914
wrote:

I am attempting to find duplicate numbers by creating a new query in Access.
I have imported an excel file with multiple worksheets into access and would
like to find out what the duplicate numbers are and where they are located
without erasing/replacing the existing data. Not sure how to build the
query. Help please.


For starters, create a new Query, and use the "Find Duplicates" query
wizard.

John W. Vinson [MVP]

  #4  
Old February 15th, 2007, 04:57 AM posted to microsoft.public.access.queries
John W. Vinson
external usenet poster
 
Posts: 18,261
Default Duplicate Query

On Wed, 14 Feb 2007 11:09:13 -0800, quest1914
wrote:

I am attempting to find duplicate numbers by creating a new query in Access.
I have imported an excel file with multiple worksheets into access and would
like to find out what the duplicate numbers are and where they are located
without erasing/replacing the existing data. Not sure how to build the
query. Help please.


I guess I don't understand. Did you import multiple worksheets into
one table? If so, use the Duplicates query on that table. Or did you
import each worksheet into its own table, and you want to find all
duplicates across all the tables?

What's the context? What constitutes a "duplicate"? How are your
tables structured?

John W. Vinson [MVP]
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:07 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.