Solved

Combine multiples Tables with common index into a new single table.

Posted on 2013-06-16
4
306 Views
Last Modified: 2013-06-17
Experts,

I need to combine 11 tables into one on their common index.  This of course will require an addition of fields to  the combined table.  I have tried both asking the query to add and by addings fields to the Combined table "T00AllCat" to no avail.  I always get the same "___"record(s) due  to validation rule violations.

What is the simplest way to accomplish this simple task?

The data base attached contains Tables T01 through T11, plus my effort to make a combination table; "T00AllCat", "T00AllCatCopy", and "T00Base".  The query I have been trying to use has been multiple versions of  "QAppT00AllCat_T01" .

Any and all guidance will be greatly appreciated.

Timothy
PSAssmTAMod.accdb
0
Comment
Question by:TimothyA
  • 2
4 Comments
 
LVL 24

Expert Comment

by:chaau
Comment Utility
It is not clear what you mean by "combining". I can see that T01 - T11 tables are all completely different. They have different structure, and according to their data they are designed to hold different type of information.

What exactly are you trying to achieve?
0
 
LVL 77

Accepted Solution

by:
peter57r earned 500 total points
Comment Utility
You need to create one query which uses all of your tables to select the fields you want from each table,

You need to start from one table which you know has every record you want to see in the final result.  Add the fields you want into the result grid.
 Then add the second table to the query ; join the tables on the correct field; change the join type (right click the join line) so that you have all records from the first table and any matching records from the second table. Add the fields you want from the second table to the result grid.
add each table in turn to the query, always  linking it to the first table and always changing the join type. So you end up with the first table linked to every other table and all the fields you want in the result grid.  

View the results to check you are seeing what you expect..

Then convert the query to a Make-table query (menu option).

Save the query and then run it.
0
 

Author Comment

by:TimothyA
Comment Utility
Peter,

Thanks so so much.   I will begin working on your suggestion and will get back to you later in the week.

Timothy
0
 

Author Closing Comment

by:TimothyA
Comment Utility
Solution worked perfectly!
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
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…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

771 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now