So I tried do what you said, but i encountered a new problem,the if statment uses the condition "StockOnHand<Quantity", here the Quantity is a stored value, but the "StockOnHand" is a dlookup value which is also not saved, what do ido then?
For this form i use a query(orderdtl) as a record...