Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2013-06-16
4
Medium Priority
?
339 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 25

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 2000 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

783 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