I've been trying to disable a button when information is input to a certain field, and enable it when the field is empty. This works when form is first loaded, but doesn't disable the button when you put information in the field. I've tried On Dirty, On Current, even tried it on Mouse Move just to see what would happen...My code is below.
If Me!txtAccountNumber <> Null Then
Me!ClsScrn.Enabled = False
Else
Me!ClsScrn.Enabled = True
End If
Any ideas?
Jay![[infinity] [infinity] [infinity]](/data/assets/smilies/infinity.gif)
"If the words up and down were reversed, would you trip and fall or trip and fly?"
If Me!txtAccountNumber <> Null Then
Me!ClsScrn.Enabled = False
Else
Me!ClsScrn.Enabled = True
End If
Any ideas?
Jay
![[infinity] [infinity] [infinity]](/data/assets/smilies/infinity.gif)
"If the words up and down were reversed, would you trip and fall or trip and fly?"