I am trying to multiply a value by a decimal depending on whether the person choses yes or no. Below is the code I am currently using. Any help is greatly appreciated.
If Me.CreditorIDB.Value = 758 Then
msg = "Is this account over the credit limit?"
If MsgBox(msg, vbYesNo, "Over Limit" = vbYes Then
Me.OurPayment.Value = Me.Balance.Value * 0.03
Else
Me.OurPayment.Value = Me.Balance.Value * 0.02
End if
Thanks.
Ed
If Me.CreditorIDB.Value = 758 Then
msg = "Is this account over the credit limit?"
If MsgBox(msg, vbYesNo, "Over Limit" = vbYes Then
Me.OurPayment.Value = Me.Balance.Value * 0.03
Else
Me.OurPayment.Value = Me.Balance.Value * 0.02
End if
Thanks.
Ed