Dear All,
Please could you tell me what is wrong with the following statement:
I type it in as above but the 21.00 turns into 21# immediately after I go to the next line.
The 3 Fields are formatted as Number|Fixed|2 Decimal places
Thank you in advance for any help
Regards Jim
Please could you tell me what is wrong with the following statement:
Code:
Private Sub PartsCostExVAT_AfterUpdate()
If Me![LabourCost] / Me![PartsCostExVAT] > 2 Then VatRate = 12.50
ElseIf Me![LabourCost] / Me![PartsCostExVAT] < 2 Then VatRate = 21.00
End If
End Sub
I type it in as above but the 21.00 turns into 21# immediately after I go to the next line.
The 3 Fields are formatted as Number|Fixed|2 Decimal places
Thank you in advance for any help
Regards Jim