N
NotGood@All
I have this code in the before update event for a textbox of a customer's
first name. My thinking is that if I tab past the first name I should get my
MsgBox. That does not happen. Could someone tell me if I'm thinking
incorrectly or if this code is incorrect. Thank You Very Much!!!
Private Sub Customer_s_First_Name_BeforeUpdate(Cancel As Integer)
If Me.Customer_s_First_Name.Text = vbNullString Then
MsgBox "Value Required", vbOKOnly, "First Name Missing!!"
Cancel = True
End Sub
first name. My thinking is that if I tab past the first name I should get my
MsgBox. That does not happen. Could someone tell me if I'm thinking
incorrectly or if this code is incorrect. Thank You Very Much!!!
Private Sub Customer_s_First_Name_BeforeUpdate(Cancel As Integer)
If Me.Customer_s_First_Name.Text = vbNullString Then
MsgBox "Value Required", vbOKOnly, "First Name Missing!!"
Cancel = True
End Sub