G
Guest
I saw some similar type questions posted -- I was able to make things work
using an append query, but it seems I should have a more efficient way to
solve my issue. I have about 20 tables -- 4 of the fields together in each
table make a unique record. A unique record in one table may be in all 20 of
the other tables or only in one of the tables. I want to create one table
that has all unique records and then puts info that is unique in each table
in a separate field in my "master table." I have been able to acccomplish
this using some append queries to create all of my unique records (w/o data
that is unique to each table) and then using a huge make table query that
uses the table created by my append query with one to many relationships
defined to each of the 20 separate tables to create my huge master table --
problem is that it takes my query about 45 minutes to run.
If that wasn't all that clear above then let me illustrate with the
following basic type example ...
Table 1
Person Color
Jeff Red
Jim Blue
Sheri Green
Ted Yello
Table 2
Person Cereal
Ed Cornflakes
Jeff Cheerios
Sheri Sugar Pops
Sam Oatmeal
Desired Master Table
Person Color Cereal
Jeff Red Cheerios
Jim Blue
Sheri Green Sugar Pops
Ted Yellow
Ed Cornflakes
Sam Oatmeal
Is there an easy answer? or are my append queries and update/make table
queries the only answers?
Thank you in advance ...
using an append query, but it seems I should have a more efficient way to
solve my issue. I have about 20 tables -- 4 of the fields together in each
table make a unique record. A unique record in one table may be in all 20 of
the other tables or only in one of the tables. I want to create one table
that has all unique records and then puts info that is unique in each table
in a separate field in my "master table." I have been able to acccomplish
this using some append queries to create all of my unique records (w/o data
that is unique to each table) and then using a huge make table query that
uses the table created by my append query with one to many relationships
defined to each of the 20 separate tables to create my huge master table --
problem is that it takes my query about 45 minutes to run.
If that wasn't all that clear above then let me illustrate with the
following basic type example ...
Table 1
Person Color
Jeff Red
Jim Blue
Sheri Green
Ted Yello
Table 2
Person Cereal
Ed Cornflakes
Jeff Cheerios
Sheri Sugar Pops
Sam Oatmeal
Desired Master Table
Person Color Cereal
Jeff Red Cheerios
Jim Blue
Sheri Green Sugar Pops
Ted Yellow
Ed Cornflakes
Sam Oatmeal
Is there an easy answer? or are my append queries and update/make table
queries the only answers?
Thank you in advance ...