S
Saj
Hi
If anyone can help me with this I will REALLY appreciate it!!!
I have two tables:
Orderline_subform which contains(orderNo, orderlineNo, stockNo, quantityOrd)
SupplierOrderline which contains(supOrdlineNo, supplierOrd, stockNo,
stockRcdQty)
I need queries that will show me the total sum for:
Orderline_subform fields: stockNo, sum(quantityOrd)
SupplierOrderline fields: stockNo, sum(stockRcdQty)
Then I want to have a combo box that lists the stockNo and the remaining
stock which would be: sum(stockRcdQty) - sum(quantityOrd)
or a field that looks at the value of a combo box already in the subform for
orderline which lists all the stockNo, and when the user selects it, it runs
this query and shows in another field on the form the remaining stock.
I have done two separate queries for the sum for orderline and
supplierorderline but when combined the new query does not show all the
stockNo yet they do have some stock, but may not have ords yet.
REALLY REALLY struggling...and need some help...pleeeeeease!!!!
Thanks in advance
If anyone can help me with this I will REALLY appreciate it!!!
I have two tables:
Orderline_subform which contains(orderNo, orderlineNo, stockNo, quantityOrd)
SupplierOrderline which contains(supOrdlineNo, supplierOrd, stockNo,
stockRcdQty)
I need queries that will show me the total sum for:
Orderline_subform fields: stockNo, sum(quantityOrd)
SupplierOrderline fields: stockNo, sum(stockRcdQty)
Then I want to have a combo box that lists the stockNo and the remaining
stock which would be: sum(stockRcdQty) - sum(quantityOrd)
or a field that looks at the value of a combo box already in the subform for
orderline which lists all the stockNo, and when the user selects it, it runs
this query and shows in another field on the form the remaining stock.
I have done two separate queries for the sum for orderline and
supplierorderline but when combined the new query does not show all the
stockNo yet they do have some stock, but may not have ords yet.
REALLY REALLY struggling...and need some help...pleeeeeease!!!!
Thanks in advance