LPARAMETERS plCalc IF plCalc = .T. * IF Product or Qty hasn't been input, can't do calculations! IF mProduct = "" RETURN ENDIF IF mQty = 0 RETURN ENDIF DO CASE * CASE Add Product CASE blah,blah,blah * CASE Delete Product CASE blah,blah,blah ENDCASE ThisForm.Refresh() ENDIFThe problem is that IF mProduct = "" doesn't seem to be working. When mProduct equals = "" then you are indeed RETURNed. But when mProduct = something different, like "281600", you are also RETURNed. I have looked at it running the Debugger. For example, when the Debugger says that mProduct = "281600" the IF mProduct = "" statement seems to evaluate to True (even though it should evaluate to False), and you are RETURNed. So the calculations *NEVER* get done. So frustrating! The IF mQty statement seems to be evaluating without a problem.