KenshiroUK
Registered User.
- Local time
- Today, 07:52
- Joined
- Oct 15, 2012
- Messages
- 160
Hi guys, I wish to use a calculation to update my stock. Now I know you're not supposed to do this however I do not see any way around this to automatically update stock, as requested by my manager.
I have created this function Left In Stock: [count]-Sum([quantity-purchased]) which returns my figure I have based this on date in a select query. All I wish to do is just update my Count with left in stock on an update query.
My query only shows what customers have bought from the stock. Would there be anyway to use a select query and show all products that includes the calculation?
I have created this function Left In Stock: [count]-Sum([quantity-purchased]) which returns my figure I have based this on date in a select query. All I wish to do is just update my Count with left in stock on an update query.
My query only shows what customers have bought from the stock. Would there be anyway to use a select query and show all products that includes the calculation?
Last edited: