Anyone know how I can reset a spinner low and high value based off the quantity of items on hand. The code is listed below:
IF v_man_inv.qty_onhand = 0
This.Parent.RequestSpin.SpinnerLowValue = 0
This.Parent.CartButton.Enabled = .F.
This.Parent.RequestSpin.Enabled = .F.
ELSE
This.Parent.CartButton.Enabled = .T.
This.Parent.RequestSpin.Enabled = .t.
This.Parent.RequestSpin.SpinnerLowValue = 1
This.Parent.RequestSpin.SpinnerHighValue = (v_man_inv.qty_onhand * .20) + v_man_inv.qty_onhand
ENDIF
This.Parent.RequestSpin.refresh()
thisform.refresh
Thanks in Advance.
J. Turner