Hi,
I'm new at VBA and Access.
I'm working on a db that will keep track of production in a warehouse. I want to calculate the total yield of product we get given a specific date range.
I created a query to retrieve data that I need to make the calculation:
SELECT tbl_Stageing.Production_Date, tbl_Stageing.Stage_ID, tbl_Stageing.Product_Condition, tbl_Stageing.Product_Category, tbl_Stageing.Product_Weight_perc
FROM tbl_Stageing
WHERE (((tbl_Stageing.Production_Date) Between [Start Date] And [End Date]) AND ((tbl_Stageing.Stage_ID)=[Stage ID]) AND ((tbl_Stageing.Product_Condition)=[Condition]) AND ((tbl_Stageing.Product_Category)=[Category]));
I want to make a calculation of total yield given a date range using this data in a form.
Any ideas or suggestions on how I can go about doing this?
Thanks!
Kumail
I'm new at VBA and Access.
I'm working on a db that will keep track of production in a warehouse. I want to calculate the total yield of product we get given a specific date range.
I created a query to retrieve data that I need to make the calculation:
SELECT tbl_Stageing.Production_Date, tbl_Stageing.Stage_ID, tbl_Stageing.Product_Condition, tbl_Stageing.Product_Category, tbl_Stageing.Product_Weight_perc
FROM tbl_Stageing
WHERE (((tbl_Stageing.Production_Date) Between [Start Date] And [End Date]) AND ((tbl_Stageing.Stage_ID)=[Stage ID]) AND ((tbl_Stageing.Product_Condition)=[Condition]) AND ((tbl_Stageing.Product_Category)=[Category]));
I want to make a calculation of total yield given a date range using this data in a form.
Any ideas or suggestions on how I can go about doing this?
Thanks!
Kumail