stock control query

halil

Registered User.
Local time
Today, 06:54
Joined
Oct 26, 2002
Messages
37
stock control query- can anyone help??????

hi there
im a little stuck on how to make a query, wot i want to do is that , on my order form when the add order button is pressed, i want the quantity of the item to decrease by the quantity bought from the products table, how do i make a query for this, i have asked my teachers but they do not know how to do this.
 
Last edited:
Run an update query on your products table decrimenting the number quantity on-hand with the quantity sold. Reference the field with the number sold on your form in your query.
 
could you elaborate
what is the equation that i will have to put in the query
 
StockOnHand: [StockOnHand]-Forms!YourFormName!OrderCount
 
hi there
im still havin trouble with the equation , on on wot field do i put this equation
 

Users who are viewing this thread

Back
Top Bottom