Hi all, help needed!
I am facing a problem that if is not working is not working on unbound form.
code and sample file is attached.
when transaction amt is equal to voucher amt then do nothing else msgbox but not working.
Regards.
I am facing a problem that if is not working is not working on unbound form.
code and sample file is attached.
when transaction amt is equal to voucher amt then do nothing else msgbox but not working.
Regards.
Code:
Private Sub Tran_Amt_AfterUpdate()
If Me.Tran_Amt = Me.Voucher_Amt Then
'Do nothing
Else:
MsgBox "You have entered less then Voucher amount."
Tran_Amount = Null
End If
End Sub