Hi guys,
Firstly apologies if I’m in the wrong place. I’m reacquainting myself with Access and have created a simple database for the logging of purchases through a store.
I have the following tables:
Customer
Customer_number
First_name
Surname
Item
Item code
Item name
Stock
Price
Purchasing
Purchase code
Customer number
Item Code
Amount
The purchasing table contains relationships between customer and item to log a purchase onto the system. What I’d like to do is when someone logs a purchase of say an ipad, the table automatically updates the level of stock in the item field to minus one. So for example I buy an ipad, the system now knows there is one less ipad in stock.
Can anyone suggest the best way to do this?
Many thanks
Firstly apologies if I’m in the wrong place. I’m reacquainting myself with Access and have created a simple database for the logging of purchases through a store.
I have the following tables:
Customer
Customer_number
First_name
Surname
Item
Item code
Item name
Stock
Price
Purchasing
Purchase code
Customer number
Item Code
Amount
The purchasing table contains relationships between customer and item to log a purchase onto the system. What I’d like to do is when someone logs a purchase of say an ipad, the table automatically updates the level of stock in the item field to minus one. So for example I buy an ipad, the system now knows there is one less ipad in stock.
Can anyone suggest the best way to do this?
Many thanks