See if this helps.
If TextBox1.Text = Nothing OrElse TextBox2.Text = Nothing OrElse TextBox3.Text = Nothing Then
MsgBox("TextBoxes CANNOT be Empty.", MsgBoxStyle.Critical)
Exit Sub '// Skip the remaning code in the Sub.
End If
'// Save code here.
codeorder
Posting Virtuoso
1,915 posts since Aug 2010
Reputation Points: 255
Solved Threads: 384
razree, please start your own thread for your "own" questions.
If you need help doing so, send me a private message.
codeorder
Posting Virtuoso
1,915 posts since Aug 2010
Reputation Points: 255
Solved Threads: 384