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  

Find duplicate records in multiple tables.



 
 
Thread Tools Display Modes
  #1  
Old February 15th, 2007, 09:47 PM posted to microsoft.public.access.queries
jones6
external usenet poster
 
Posts: 1
Default Find duplicate records in multiple tables.

Hi, Can anyone point me in the right direction to solving this?

I have a Table which is a parent table with and Primary key ID and data.

I can find duplicate data just fine for that.

There is also a child table for Details which references that primay key in
the parent table and also has its own primary key and data.

There are cases when the data in the parent table is the same but the data
in the child table is sometimes different and I do not know of a way to check
if all child rows are the same or not.


  #2  
Old February 16th, 2007, 07:23 AM posted to microsoft.public.access.queries
John Nurick
external usenet poster
 
Posts: 492
Default Find duplicate records in multiple tables.

Start by building a query that inner-joins the two tables and returns
the fields you're interested in. Then create a "find duplicates" query
that gets its data from the first query.

On Thu, 15 Feb 2007 13:47:05 -0800, jones6
wrote:

Hi, Can anyone point me in the right direction to solving this?

I have a Table which is a parent table with and Primary key ID and data.

I can find duplicate data just fine for that.

There is also a child table for Details which references that primay key in
the parent table and also has its own primary key and data.

There are cases when the data in the parent table is the same but the data
in the child table is sometimes different and I do not know of a way to check
if all child rows are the same or not.


--
John Nurick [Microsoft Access MVP]

Please respond in the newsgroup and not by email.
 




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 09:24 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.