Hi,
I have a kind of invoicing and other stuff database in use from a while, and now I would like to make possible to print reports with current stock levels.
This is what I have now:
tblSupplied - 4 the supplied products
tblOrders - 4 invoiced products
I have made 2 queries, 1 for each of this tables, queries necessary for calculations.
qrySupplied
Product_ID (grouped by)
Supplied_Qty (sumed)
qryOrders
Product_ID (grouped by)
Ordered_Qty (sumed)
I want to use a 3rd query, named qryStock, for the stock output, but I don't know how to make it to show me the stock for all products, because if I just simply create an expression Stock=[Supplied_Qty]-[Ordered_Qty] the query will show only those products which are supplied an ordered too, but will not show those which are supplied but not ordered.
Can you help me on this? I did searched the forum on this, but I haven't found anything like this to get helped with.
Thanks, Attila
I have a kind of invoicing and other stuff database in use from a while, and now I would like to make possible to print reports with current stock levels.
This is what I have now:
tblSupplied - 4 the supplied products
tblOrders - 4 invoiced products
I have made 2 queries, 1 for each of this tables, queries necessary for calculations.
qrySupplied
Product_ID (grouped by)
Supplied_Qty (sumed)
qryOrders
Product_ID (grouped by)
Ordered_Qty (sumed)
I want to use a 3rd query, named qryStock, for the stock output, but I don't know how to make it to show me the stock for all products, because if I just simply create an expression Stock=[Supplied_Qty]-[Ordered_Qty] the query will show only those products which are supplied an ordered too, but will not show those which are supplied but not ordered.
Can you help me on this? I did searched the forum on this, but I haven't found anything like this to get helped with.
Thanks, Attila