I'm creating an access database for a bakery that tracks inventory and recipes. Right now they only sell x number of products but that can change in the future. The recipes range from 5 ingredients to 20+ and again, can change down the road.
I believe the best thing to do would be to create one table that holds all items for sale. Then create another table for each item with separate fields being ingredient 1, ingredient 2, etc. When it's time to bake the user inputs the amount and the recipe is generated into a form, saved, and inventory is debited the proper amounts.
Somehow the user needs to update the recipe and add ingredients when needed. Even adding new products whenever they create a new pastry or whatever...I believe the best way to do this would be to have the user add fields through each products' table through a user form. From what I've read though this is a bad idea to let user determine table structure. I see no way around this. Is there a better way to structure what I need? If not how do I set up a form that adds fields to a table?
I believe the best thing to do would be to create one table that holds all items for sale. Then create another table for each item with separate fields being ingredient 1, ingredient 2, etc. When it's time to bake the user inputs the amount and the recipe is generated into a form, saved, and inventory is debited the proper amounts.
Somehow the user needs to update the recipe and add ingredients when needed. Even adding new products whenever they create a new pastry or whatever...I believe the best way to do this would be to have the user add fields through each products' table through a user form. From what I've read though this is a bad idea to let user determine table structure. I see no way around this. Is there a better way to structure what I need? If not how do I set up a form that adds fields to a table?
Comment