Unanswered: Do not close form if a text field is empty??
I'm trying to set up a form that will require the user to enter in a required field, and if they click the close button if that text box is empty then it shouldn't close..I set up an if statement with the following if statement
If Feedback_Date.Text = "" Then
End(not sure if that'll just cancel the onClick command or not just tossed it in there for the sake of tossing it in. )
is there something I'm missing in this? or should this work? cause I get an error saying I can't refrence a properity or method for a control unless the control has the focus..