hi
i have a issue with my database
i have a customer, orders, stock tables
i have customers placing orders
however the stock doesn't update. to get around this i created an update query, so that the stock will automatically update as i process orders.
however the problem that i have is that once i run the update query it apply to all of the orders again
e.g.
item 1 - qty in stock 100
item 2 - qty in stock 100
if i place a order for item 1 and i require #50 item 1's.
and i run the update query, it will work fine
but if i place a order for item 2 (#50 qty) it will take off 50 for item 2 but it will also apply the query to item 1 again leaving no item 1 left
please help
many thanks
Aty01