if anyone could help me id be greatful
Basically im creating a system for a small store, and im stuck i cant remember how to make the Stock Quantity from one table go down if i put a sale though in another table
For example i sell A computer which has a total of 20 Availiable how do i make it automatically go to 19 when i put a sale through anyone got any ideas?
How it would work is, id Have a sales Form which has the
Sale ID,
Customer ID,
Employee ID,
Product ID
Current Date
evertyime i put a sale though i will print a recipet with the information based on the Sale ID i choose but how do i make it go into my Product Table and remove -1 from the quantitiy based on a Sale i put though
Basically im creating a system for a small store, and im stuck i cant remember how to make the Stock Quantity from one table go down if i put a sale though in another table
For example i sell A computer which has a total of 20 Availiable how do i make it automatically go to 19 when i put a sale through anyone got any ideas?
How it would work is, id Have a sales Form which has the
Sale ID,
Customer ID,
Employee ID,
Product ID
Current Date
evertyime i put a sale though i will print a recipet with the information based on the Sale ID i choose but how do i make it go into my Product Table and remove -1 from the quantitiy based on a Sale i put though