Hi guys, my name is David
Need help with following matter:
I have a table (Query) of "Purchases" with some columns of "Purchase ID", "Purchase Date", "Purchased Material", "Amount", "Unit Price".
In another table (Query) of Material Expenditures with some columns of "Expenditure ID", "Expenditure Date", "Material", "Unit Cost", I want to fill "Unit Cost" column with appropriate Unit Price (from Purchases), where the unit price is the latest for the "Expenditure Date". In short, if I'm using a material at a stated date, I wanna know unit cost of it as a latest purchase price for that date of material expenditure.
What I've done is that I successfully DLookUp-ed purchase price of the expansed material.