|
-
March 3rd, 2010, 06:15 PM
#1
How to directly move from msgbox to form1
Hi, i am having a problem on my program
Private Sub Command1_Click()
If text1.Text = "" Then
MsgBox ("You have no content on your 1st Textbox")
Else
End If
.
.
.
Bunch of codes that will result to an error if there is no value for text1.text
When the user clicks the command button and the textbox is blank, there will be a msgbox popping out.
But how can i make the program go back to the form1 without continuing the program since there would be errors after the first if statement
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|