G
Guest
Hi,
I'm trying to make sure that before someone closes my form, a certain text
box has a value in it. If it doesn't, I want to have a messagebox that
displays a reminder. I've got the message box working when you exit the text
box, but I only want it to come up if the text box is empty.
So far my code looks like this:
Private Sub student_ssn_Exit(Cancel As Integer)
MsgBox ("Social on Exit, How are you doing?")
End Sub
The text box is connected to live data, and is actually text. I'm not sure
why it is saying interger. How do I ad to this to text for a null value,
before the box comes up?
I'm trying to make sure that before someone closes my form, a certain text
box has a value in it. If it doesn't, I want to have a messagebox that
displays a reminder. I've got the message box working when you exit the text
box, but I only want it to come up if the text box is empty.
So far my code looks like this:
Private Sub student_ssn_Exit(Cancel As Integer)
MsgBox ("Social on Exit, How are you doing?")
End Sub
The text box is connected to live data, and is actually text. I'm not sure
why it is saying interger. How do I ad to this to text for a null value,
before the box comes up?