Hi all,
I would like to make a simple transaction database. Inventory and orders. When an order is processed, the related inventory goes down by the order amount. However, I cannot figure out how to get my order form to update only one cell rather than the entire atribute column. I was told yesterday that I should not have a calculated field in a table and that the inventory count should come from a sum of all the transactions, but isn't that a bit inefficient making the database add up every single transaction each time to find the inventory on-hand? I want to have an atribute in the product table for inventory. Can anyone tell me how to get my form to update the item's on-hand field?
Ex.
product table
a) Widget 25
b) Gidget 10
c) Thing 27
1) 25 widgets on-hand
2) Order Form: customer buys 1 widget
3) widgets on-hand now reads 24
How do I do this???
Thank you very much for your help
I would like to make a simple transaction database. Inventory and orders. When an order is processed, the related inventory goes down by the order amount. However, I cannot figure out how to get my order form to update only one cell rather than the entire atribute column. I was told yesterday that I should not have a calculated field in a table and that the inventory count should come from a sum of all the transactions, but isn't that a bit inefficient making the database add up every single transaction each time to find the inventory on-hand? I want to have an atribute in the product table for inventory. Can anyone tell me how to get my form to update the item's on-hand field?
Ex.
product table
a) Widget 25
b) Gidget 10
c) Thing 27
1) 25 widgets on-hand
2) Order Form: customer buys 1 widget
3) widgets on-hand now reads 24
How do I do this???
Thank you very much for your help