I have created a database using access 2007. There is a one table called order and primary key is orderID and tpe is Auto number. Order(OrderID,Date, Time, CustomerID). There is another table for Pizza(PizzaId,PizzaName,PizzaPrice) PizzaID is a text type we include that. one customer can place a order and that order can have many pizzas.One to Many relationship. So I created a table pizzaOrder(OrderId,PizzaId,Amount).I have created a form.But customer can only place one pizza to his current order.i add a button.but when it clicked new order comes.customer can not add extra pizzas to his current order.I can`t implement this using forms. So please give me solution I want to add many pizzaID s to one Order.when customer can have ability to add pizzas using button like things. i have used toggle buttons and use a vba code to select pizzas. But customer can’t add many pizzas to his order. cutomer can only add one pizza to his order. So guide me to the correct way. I need a way that cutomer can add many pizza ids to his current order.
When a customer want to add pizza for the second time new record must be added to the table PizzaOrder but his current order must be automatically add to the OrderID. I want to know how to implement this this by using button like thng.