Hello,
I've designed a very simple stock table - it has name of chemicals and quantity (in kg - lets say I have 100kg of all). What I would like to do is design a simple form to deduct chemicals depending on chemical mix (recipe). I know I need to create a new table for the recipes.
For example,
Recipe R20 = 5kg of ChemA + 2kg of ChemB + 3kg of ChemC
Recipe R21 = 1kg of ChemA + 3kg of ChemD + 2kg of ChemE
..
So when I pick R20 recipe from the form, and say I made 20kg of this mixture (I need to enter how much of this I made), it should reduce the stock (inventory) as below:
ChemA stock by 10kg, ChemB by 4kg, and ChemC by 6kg.
What is the best way to achieve this? If you could give me some direction, or a very basic example database, that would be greatly appreciated.
Thanks!
I've designed a very simple stock table - it has name of chemicals and quantity (in kg - lets say I have 100kg of all). What I would like to do is design a simple form to deduct chemicals depending on chemical mix (recipe). I know I need to create a new table for the recipes.
For example,
Recipe R20 = 5kg of ChemA + 2kg of ChemB + 3kg of ChemC
Recipe R21 = 1kg of ChemA + 3kg of ChemD + 2kg of ChemE
..
So when I pick R20 recipe from the form, and say I made 20kg of this mixture (I need to enter how much of this I made), it should reduce the stock (inventory) as below:
ChemA stock by 10kg, ChemB by 4kg, and ChemC by 6kg.
What is the best way to achieve this? If you could give me some direction, or a very basic example database, that would be greatly appreciated.
Thanks!