microsoftgirl
Registered User.
- Local time
- Today, 22:07
- Joined
- Oct 14, 2011
- Messages
- 13
I have a query that works out the amount of stock that needs reordering, based on delivery(what the store purchases from it's suppliers), transaction(what customers purchase from the store) and stock level.
The query is working fine. It tells the user how many stock needs to be reordered and if no stock is needed to be reordered then the reorder amount is set as "0".
However, I want to make it so that if the total stock is set as 0, a transaction cannot be made. Would this be done in the reorder stock query, or a different way? And how would I go about doing this please?
When the stock level is at 0, I was thinking of having a message box appear saying that a transaction cannot be made.
The query is working fine. It tells the user how many stock needs to be reordered and if no stock is needed to be reordered then the reorder amount is set as "0".
However, I want to make it so that if the total stock is set as 0, a transaction cannot be made. Would this be done in the reorder stock query, or a different way? And how would I go about doing this please?
When the stock level is at 0, I was thinking of having a message box appear saying that a transaction cannot be made.