G
Guest
This is what I have 2 created queries:
Query 1 is qry_Sum_for_Comparison_PP and contains the following fields:
PP_Shift_Date
PP_Shift (i.e. 1,2,3)
PP_Mold (text)
SumOfPP_Earn_Hrs
Query 2 is qry_Sum_for_Comparison_LI and contains the following fields:
LI_Shift_Date
LI_Shift (i.e. 1,2,3)
LI_Mold (text)
SumOfHours_Worked
What I ultimately want is a query that returns all the values from Query 1
and Query 2 whether they match or not so I tried a UNION query on the first 3
fields which gave me the data I needed but I also need the 4th field from
each query which as you can see is different.
The following 6 fields is what I ultimately want to see (example of how some
data would look):
PP_Shift_Date PP_Shift PP_Mold LI_Mold SumOfPP_Earn_Hrs SumOfHours_Worked
11/28/05 1 1572 1572 6.18 5.67
11/28/05 1 1872 15.77
11/28/05 1 2008
0.53
Is there help for me?
Thanks, Stacey
Query 1 is qry_Sum_for_Comparison_PP and contains the following fields:
PP_Shift_Date
PP_Shift (i.e. 1,2,3)
PP_Mold (text)
SumOfPP_Earn_Hrs
Query 2 is qry_Sum_for_Comparison_LI and contains the following fields:
LI_Shift_Date
LI_Shift (i.e. 1,2,3)
LI_Mold (text)
SumOfHours_Worked
What I ultimately want is a query that returns all the values from Query 1
and Query 2 whether they match or not so I tried a UNION query on the first 3
fields which gave me the data I needed but I also need the 4th field from
each query which as you can see is different.
The following 6 fields is what I ultimately want to see (example of how some
data would look):
PP_Shift_Date PP_Shift PP_Mold LI_Mold SumOfPP_Earn_Hrs SumOfHours_Worked
11/28/05 1 1572 1572 6.18 5.67
11/28/05 1 1872 15.77
11/28/05 1 2008
0.53
Is there help for me?
Thanks, Stacey