G
Guest
I have a bound TextBox to key in data and it is not allowed to be empty. I don't want to set the rule in the Table and like to set it in the TextBox. In the TextBox's AfterUpdate, I set
If IsNull(TextBox) The
MsgBox "You must key in something
Exit Su
End I
It works if the user has typed something and then delete it. Howerver, if the user forgets to type something and press ENTER, it jumps to the next TextBox directly and nothing shows up. Can anyone help? Thanks.
If IsNull(TextBox) The
MsgBox "You must key in something
Exit Su
End I
It works if the user has typed something and then delete it. Howerver, if the user forgets to type something and press ENTER, it jumps to the next TextBox directly and nothing shows up. Can anyone help? Thanks.