Updating balance

Hello everyone ! I am working on drug inventory management app. here is my tables
1 drugs list


2. store where balance is maintained

3. prescription where drugs quantity issued to pt

guys I canโ€™t figure out how to update the balance in store table using values from the prescription tables for individual drugs. so that timely stocks can be updated.
pls help, also suggest if there is other way around !
thank you !

0 3 200
3 REPLIES 3
Top Labels in this Space