Hello All,
I'm brand-new to code, and can't get this to work; i have double-checked field names, etc. Am i using incorrect syntax? thanks!
Private Sub Form_Current()
If Me.PaymentMethod = "CreditCard" Then
Me.CredCardNo.Enabled = True
Else
Me.CredCardNo.Enabled = False
End If
End Sub
Private Sub PaymentMethod_AfterUpdate()
If Me.PaymentMethod = "CreditCard" Then
Me.CredCardNo.Enabled = True
Else
Me.CredCardNo.Enabled = False
End If
End Sub