CharlieT302
Instructor
Hi Everyone,
I have a table that lists Item #'s in separate fields (fyi: it has to stay this way).
For Example:
Date Item1 Item2 Item3
1/2/2012 502 201 705
1/3/2012 301 222 725
As you can see, each date contains three Items for a single date. I use a query to attach this table to primary table to provide additional info regarding each item. I have a separate query for each item. See below (Temperature, Time are from other table)
Query 1
Date Item1 Temperature Time
1/2/2012 502 350 degrees 1 hour
Query2
Date Item2 Temperature Time
1/2/2012 201 275 degrees 1.5 hour
Query3
Date Item3 Temperature Time
1/2/2012 201 400 degrees .5 hour
The additional tables are not the issue. What I need is a way to combine each query result into a single result, so that all items displays on separate lines even though they are from the same date (see below). In other words "stack" the results of each query onto the last. I do not want to use a Make Table query as that would not be efficient. Is there a query solution?
Date Item Temperature Time
1/2/2012 502 350 degrees 1 hour
1/2/2012 201 275 degrees 1.5 hour
1/2/2012 201 400 degrees .5 hour
1/3/2012 301 325 degrees 1.5 hours
1/3/2012 222 375 degrees 1 hour
1/3/2012 725 300 degrees 2 hours
Ideas?
I have a table that lists Item #'s in separate fields (fyi: it has to stay this way).
For Example:
Date Item1 Item2 Item3
1/2/2012 502 201 705
1/3/2012 301 222 725
As you can see, each date contains three Items for a single date. I use a query to attach this table to primary table to provide additional info regarding each item. I have a separate query for each item. See below (Temperature, Time are from other table)
Query 1
Date Item1 Temperature Time
1/2/2012 502 350 degrees 1 hour
Query2
Date Item2 Temperature Time
1/2/2012 201 275 degrees 1.5 hour
Query3
Date Item3 Temperature Time
1/2/2012 201 400 degrees .5 hour
The additional tables are not the issue. What I need is a way to combine each query result into a single result, so that all items displays on separate lines even though they are from the same date (see below). In other words "stack" the results of each query onto the last. I do not want to use a Make Table query as that would not be efficient. Is there a query solution?
Date Item Temperature Time
1/2/2012 502 350 degrees 1 hour
1/2/2012 201 275 degrees 1.5 hour
1/2/2012 201 400 degrees .5 hour
1/3/2012 301 325 degrees 1.5 hours
1/3/2012 222 375 degrees 1 hour
1/3/2012 725 300 degrees 2 hours
Ideas?