Standard |
Module1 |
Calculation_Total2 |
Basic |
Calculation_without_Tax (Procedure) Calculation_Total (Procedure) |
12 |
SUB Calculation_Total2(oField AS OBJECT) DIM oForm AS OBJECT DIM oField2 AS OBJECT DIM oField3 AS OBJECT DIM oField4 AS OBJECT oForm = oField.Parent oField2 = oForm.getByName("price") oField3 = oForm.getByName("total") oField4 = oForm.getByName("tax_total") oField3.BoundField.UpdateDouble(oField.getCurrentValue * oField2.getCurrentValue) oField4.BoundField.UpdateDouble(oField.getCurrentValue * oField2.getCurrentValue - oField.getCurrentValue * oField2.getCurrentValue / 1.19) END SUB |