i have a form stock which records stocks codes/price/stock in hand and reorder levels. I have a macro (not very good at VB) on the Before Update property of stock in hand that checks if enough stock is available, I have some code on the On Exit property of stock in hand that deducts sales from stock.
both work fine, to test I am entering a quantity that makes stock below reorder level, the macro produces the right message, BUT the stock is still removed giving me a minus balance.
What have I done wrong?
both work fine, to test I am entering a quantity that makes stock below reorder level, the macro produces the right message, BUT the stock is still removed giving me a minus balance.
What have I done wrong?