Solved

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

Posted on 2013-06-16
4
307 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
ID: 39252203
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
ID: 39252632
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
ID: 39252923
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
ID: 39254636
Solution worked perfectly!
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
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…

895 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

12 Experts available now in Live!

Get 1:1 Help Now