Object: | orderentry.txtDiscountPerc |
*-- Calculate the discount value based on discount percent LOCAL lnTemp IF this.Value > 0 lnTemp = ; thisform.txtSubTotal.Value * ; (this.Value / 100) thisform.txtDiscount.Value = lnTemp ELSE thisform.txtDiscount.Value = 0 ENDIF