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  

displaying all the duplicate records in a duplicate query



 
 
Thread Tools Display Modes
  #1  
Old July 14th, 2004, 01:54 AM
Paul James
external usenet poster
 
Posts: n/a
Default displaying all the duplicate records in a duplicate query

I've been using Total queries to count the numbers of duplicate records in a table, where one query field is a Group By and the other is a Count of the same underlying field. This results in a query that displays the duplicate record values in one field, and the number of records in each of those groups in another query field.

The specific query parameters I'm using a

Field Left(Name,6) Name
Total Group By Count
Criteria 1


I'm trying to figure out a way to create a query that would display each of the individual (duplicate) records in each group, instead of just showing the count of the records within each group. Can anyone tell me how to do this?

Thanks in advance,

Paul
  #2  
Old July 14th, 2004, 03:13 AM
M.L. Sco Scofield
external usenet poster
 
Posts: n/a
Default displaying all the duplicate records in a duplicate query

Using the Find Duplicates Query Wizard should be able to do this for you.

Select queries in you database window. Then click the new button, select
Find Duplicates Query Wizard, and follow the directions.

Also, please use text format when posting to the newsgroups. RTF/HTML wastes
bandwidth and increases download times.

Good luck.

Sco

"Paul James" wrote in message
...
I've been using Total queries to count the numbers of duplicate records in a
table, where one query field is a Group By and the other is a Count of the
same underlying field. This results in a query that displays the duplicate
record values in one field, and the number of records in each of those
groups in another query field.

The specific query parameters I'm using a

Field Left(Name,6) Name
Total Group By Count
Criteria 1


I'm trying to figure out a way to create a query that would display each of
the individual (duplicate) records in each group, instead of just showing
the count of the records within each group. Can anyone tell me how to do
this?

Thanks in advance,

Paul


  #3  
Old July 14th, 2004, 03:43 AM
Margaret Bartley
external usenet poster
 
Posts: n/a
Default displaying all the duplicate records in a duplicate query

I would save this query, and use it as a recordset for a
second query, and link [Name] in your
first query, with the Name field, in your underlying table,
and display all the fields from the
underlying table you want to see.



"Paul James" wrote
in message ...
I've been using Total queries to count the numbers of
duplicate records in a table, where one query field is a
Group By and the other is a Count of the same underlying
field. This results in a query that displays the duplicate
record values in one field, and the number of records in
each of those groups in another query field.

The specific query parameters I'm using a

Field Left(Name,6) Name
Total Group By Count
Criteria 1


I'm trying to figure out a way to create a query that would
display each of the individual (duplicate) records in each
group, instead of just showing the count of the records
within each group. Can anyone tell me how to do this?

Thanks in advance,

Paul




  #4  
Old July 14th, 2004, 05:08 AM
Paul James
external usenet poster
 
Posts: n/a
Default displaying all the duplicate records in a duplicate query

Thanks for the reply and the info.

You're right - the query wizard gave me exactly what I wanted.

Regarding the RTF, I don't usually use it in my messages to newsgroups, but
I wanted to use courier font so the columns in my example would line up
properly. I didn't know any other way to get the courier in there.

I always want to follow proper newsgroup etiquette, so if using RTF causes
any problems, I don't want to do it. But since this is an Access newsgroup,
how do contributors get their columns to line up so they're readable without
using RTF?

Paul


"M.L. Sco Scofield" wrote in message
...
Using the Find Duplicates Query Wizard should be able to do this for you.

Select queries in you database window. Then click the new button, select
Find Duplicates Query Wizard, and follow the directions.

Also, please use text format when posting to the newsgroups. RTF/HTML

wastes
bandwidth and increases download times.

Good luck.

Sco

"Paul James" wrote in message
...
I've been using Total queries to count the numbers of duplicate records in

a
table, where one query field is a Group By and the other is a Count of the
same underlying field. This results in a query that displays the

duplicate
record values in one field, and the number of records in each of those
groups in another query field.

The specific query parameters I'm using a

Field Left(Name,6) Name
Total Group By Count
Criteria 1


I'm trying to figure out a way to create a query that would display each

of
the individual (duplicate) records in each group, instead of just showing
the count of the records within each group. Can anyone tell me how to do
this?

Thanks in advance,

Paul




  #5  
Old July 14th, 2004, 07:47 AM
Paul James
external usenet poster
 
Posts: n/a
Default displaying all the duplicate records in a duplicate query

Thanks for your reply, Margaret.

I tried following your suggestion in detail by building a second query using
the first query, adding the underlying table and linking them on the [Name]
fields in both tables. However, it didn't cause the query to display all of
the duplicate records.

Also, I'm able to display any additiona fields by just adding them to the
first query and setting their "Total" row to "First."

Paul



"Margaret Bartley" wrote in message
...
I would save this query, and use it as a recordset for a
second query, and link [Name] in your
first query, with the Name field, in your underlying table,
and display all the fields from the
underlying table you want to see.



"Paul James" wrote
in message ...
I've been using Total queries to count the numbers of
duplicate records in a table, where one query field is a
Group By and the other is a Count of the same underlying
field. This results in a query that displays the duplicate
record values in one field, and the number of records in
each of those groups in another query field.

The specific query parameters I'm using a

Field Left(Name,6) Name
Total Group By Count
Criteria 1


I'm trying to figure out a way to create a query that would
display each of the individual (duplicate) records in each
group, instead of just showing the count of the records
within each group. Can anyone tell me how to do this?

Thanks in advance,

Paul






  #6  
Old July 15th, 2004, 03:03 AM
M.L. Sco Scofield
external usenet poster
 
Posts: n/a
Default displaying all the duplicate records in a duplicate query

Inline...

Sco

"Paul James" wrote in message
...
Thanks for the reply and the info.


You're most welcome.


You're right - the query wizard gave me exactly what I wanted.


Excellent! I just love a happy ending. :-)


Regarding the RTF, I don't usually use it in my messages to newsgroups,

but
I wanted to use courier font so the columns in my example would line up
properly. I didn't know any other way to get the courier in there.


Just throw in a few extra spaces if the alignment is that important.


I always want to follow proper newsgroup etiquette, so if using RTF causes
any problems, I don't want to do it. But since this is an Access

newsgroup,
how do contributors get their columns to line up so they're readable

without
using RTF?


The problem is the message size. A lot of people set download limits.
Because RTF grows 2 to 4 times faster than plain text, your message might
not get download by someone that can help.

Also, because of the idiots that have found ways to insert malicious script
into HTML, there are some people that won't even download a message that is
not plain text. Again, your message might get missed by someone that could
help.


Paul

snip


  #7  
Old July 15th, 2004, 09:28 AM
Paul James
external usenet poster
 
Posts: n/a
Default displaying all the duplicate records in a duplicate query

Ok. Thanks for the info.


 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
append Query duplicating records Alex Running & Setting Up Queries 1 July 8th, 2004 01:31 PM
Query combining multiple records from one table can't add records Clint Marshall Running & Setting Up Queries 4 July 8th, 2004 01:25 PM
can't append records in append query Greg Clements Running & Setting Up Queries 1 July 2nd, 2004 04:29 PM
How to identify duplicate records and count them vishal Worksheet Functions 1 June 6th, 2004 06:33 PM
Eliminating Duplicate Records in a Form or Query RJL New Users 1 May 12th, 2004 12:31 AM


All times are GMT +1. The time now is 10:46 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.