J
Jace Campbell
My program allows you to enter ingredients, then build menu items using the
ingredients. It then calculates based on case cost and quantity how much it
costs for the ingredient in your menu item. Then on a form it sums the
calculated fields to give a total food cost for a menu item.
I would like to allow users to combine multiple menu items to create a combo
like a hamburger basket. The problem is that the cost for the menu item is
not stored anywhere, it is simply calculated and summed when it is selected
on the screen or on a report.
Right now the user builds a menu item by selecting ingredients from a combo
box that has my ingredients table as the record source.
I am afraid I cannot do what I want to here because of a flaw in my table
design, but I would appreciate many more second opinions and suggestions as
to how to tackle this problem. Below I have provided my table structure for
further guidance.
Ingredients Middle Menu Items
ing_name-----------------ing_used menu_price
ing_price menu_used------------menu_item
ing_qty qty-used
For each record in the Middle table, the quantity is multiplied by the
ingredient cost per item in a query and then summed.
Thank you so much in advance for taking your time to look at this. Please
let me know if there is anything more I can provide.
ingredients. It then calculates based on case cost and quantity how much it
costs for the ingredient in your menu item. Then on a form it sums the
calculated fields to give a total food cost for a menu item.
I would like to allow users to combine multiple menu items to create a combo
like a hamburger basket. The problem is that the cost for the menu item is
not stored anywhere, it is simply calculated and summed when it is selected
on the screen or on a report.
Right now the user builds a menu item by selecting ingredients from a combo
box that has my ingredients table as the record source.
I am afraid I cannot do what I want to here because of a flaw in my table
design, but I would appreciate many more second opinions and suggestions as
to how to tackle this problem. Below I have provided my table structure for
further guidance.
Ingredients Middle Menu Items
ing_name-----------------ing_used menu_price
ing_price menu_used------------menu_item
ing_qty qty-used
For each record in the Middle table, the quantity is multiplied by the
ingredient cost per item in a query and then summed.
Thank you so much in advance for taking your time to look at this. Please
let me know if there is anything more I can provide.