In access 2010:
I have the table “pharmacy” and I have a field called “ph_quantity”.
I also have the table “warehouse” and I have a field called “wh_quantity”.
In “warehouse” I also have a field called “available_stock”.
Whenever I will change “ph_quantity” or “wh_quantity”, I want to automatically update the value of “available_stock”.
Any help please?
There are two new features in MS Access 2010 that should be of use to you.
— http://office.microsoft.com/en-us/access-help/add-a-calculated-field-to-a-table-HA101820564.aspx
Attaching Logic to Data Using Data Macros in Access 2010 Applications