M
muizsyed
Guest
Firstly, im sorry if this might be in the wrong forum, i dont know which one to ask in.
I have a database which has the a products table that contains a ProductID, name, price, stockquantity
i have a invoice form, that contains a subform. The form has the invoice information such as, orderID, customerID, total price
the subform has OrderID (foreignkey), productID, name, price, quantity bought.
The subform is in datasheet view
Using a situation, I add a product, along with quantity,
now i add a second product along with quantity...
how would i be able to take this quantity...away from the quantity (in the products table) for a new quantity to be updated into the products table? seeing as there are more than one product
if u dont understand the situation i can send the database to you
please let me know, thank you
I have a database which has the a products table that contains a ProductID, name, price, stockquantity
i have a invoice form, that contains a subform. The form has the invoice information such as, orderID, customerID, total price
the subform has OrderID (foreignkey), productID, name, price, quantity bought.
The subform is in datasheet view
Using a situation, I add a product, along with quantity,
now i add a second product along with quantity...
how would i be able to take this quantity...away from the quantity (in the products table) for a new quantity to be updated into the products table? seeing as there are more than one product
if u dont understand the situation i can send the database to you
please let me know, thank you