Hi,
I have the following code that triggers a message if one of the text boxes hasn't been entered.
What I would like is if the message is triggered, the message is ok'd then that textbox becomes active again with the curser flashing.
Any help would be much appreciated.
Thanks
Dan
I have the following code that triggers a message if one of the text boxes hasn't been entered.
Code:
If ((Me.TextBox2.Text = "") * (Me.TextBox3.Text = "") * (Me.TextBox4.Text = "") * (Me.TextBox5.Text = "") * (Me.TextBox6.Text = "") * (Me.TextBox7.Text = "") * (Me.TextBox8.Text = "") * (Me.TextBox9.Text = "")) Then
MsgBox "QTY not entered!", vbInformation, "Milk Room Operator"
Exit Sub
End If
What I would like is if the message is triggered, the message is ok'd then that textbox becomes active again with the curser flashing.
Any help would be much appreciated.
Thanks
Dan