Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Queries / November 2005

Tip: Looking for answers? Try searching our database.

Double records in 9 tables

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Paul - 13 Nov 2005 21:16 GMT
Hello
I got 9 tables in MS Access 2003 and each table have more then 2000 entries.
My task is find out double records in two columns of 9 tables. for example in
each table column 1 DOB (Date of Birth) has 6 zero(mm.dd.yyyy) and column 2
ID has 5 zero (12345). Now my task is find out that Table A has double record
with Table B, Table C, Table D ..... individually and collective in both
columns (DOB & ID). I find out solution for individually but need help for
collective. Report will be show in this formate or ....?

RNo Table A     Table B       Table C        Table C    Table D
1      DOB  ID         x                                    x
2      DOB  ID                          x                   x
3      DOB  ID         x                x                   x             x
4      DOB  ID                          x                                  x

wher RNo=Record No, x=shows double record with Table A.

I hope that i will get answer from you. Best regards and thanks for your help.

Signature

Paul

G. Vaught - 14 Nov 2005 04:32 GMT
Try creating a duplicates query.

> Hello
> I got 9 tables in MS Access 2003 and each table have more then 2000
[quoted text clipped - 21 lines]
> I hope that i will get answer from you. Best regards and thanks for your
> help.
John Vinson - 14 Nov 2005 17:48 GMT
>Hello
>I got 9 tables in MS Access 2003 and each table have more then 2000 entries.
[quoted text clipped - 14 lines]
>
>I hope that i will get answer from you. Best regards and thanks for your help.

If TableA is the "master" table you can simply create a Query joining
TableA to each of the other tables, joining by RNo and by DOB. Select
each of the sixteen join lines (from TableA to each of the other
tables) and select option 2 - "Show all records from TableA and
matching records from <the other table>".

The need to do this is a good example of why it's a bad idea to have
multiple tables for the same kind of data! You may want to run Append
queries to migrate all nine tables into one.

                 John W. Vinson[MVP]    
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.