A
AccessKay
Good Morning Everyone,
I’m learning and creating a database at the same time. I first added the
table Trans_Mstr_Lbr that is an import from Excel that contains all my data
related to labor. I built queries and reports based on this table. But then
I wanted to add ODC which is another import from Excel. I can’t really
establish a unique relationship between the two tables, though I thought
possibly about the date field. They both have the same month/year in common.
My goal is to create a query and report that displays the Labor Cost,ODC
Cost, and then the sum of the two, grouped by Category, Group, and Product.
Since these tables have such similar fields, I thought maybe I should combine
them??? Though, I’d rather keep them separately. I played around with
trying to create some queries and adding common tables and joins…and then
decided that I was getting nowhere and thought I’d ask the experts. What
should I do in this case? Please feel free to elaborate and you’re help is
greatly appreciated.
tblTran_Mstr_Lbr
ID (auto#)
TransDate
Category
Group
Product
Lbr_Cost
OH_Cost
tblTrans_Mstr_ODC
ID (auto#)
TransDate
Category
Group
Product
ODC_Cost_Category
ODC_Cost
Thanks,
Kay
I’m learning and creating a database at the same time. I first added the
table Trans_Mstr_Lbr that is an import from Excel that contains all my data
related to labor. I built queries and reports based on this table. But then
I wanted to add ODC which is another import from Excel. I can’t really
establish a unique relationship between the two tables, though I thought
possibly about the date field. They both have the same month/year in common.
My goal is to create a query and report that displays the Labor Cost,ODC
Cost, and then the sum of the two, grouped by Category, Group, and Product.
Since these tables have such similar fields, I thought maybe I should combine
them??? Though, I’d rather keep them separately. I played around with
trying to create some queries and adding common tables and joins…and then
decided that I was getting nowhere and thought I’d ask the experts. What
should I do in this case? Please feel free to elaborate and you’re help is
greatly appreciated.
tblTran_Mstr_Lbr
ID (auto#)
TransDate
Category
Group
Product
Lbr_Cost
OH_Cost
tblTrans_Mstr_ODC
ID (auto#)
TransDate
Category
Group
Product
ODC_Cost_Category
ODC_Cost
Thanks,
Kay