if判断问题
Private Sub Command1_Click()If Text1 = "" Then
MsgBox "请输入用户名"
End If
If Text2 = "" Then
MsgBox "请输入密码"
End If
If Text1 = xiao& & Text2 = xiao Then
MsgBox "验证成功,转入操作页面"
Form1.Hide
Form2.Show
End If
End Sub
为什么下面那个IF没起到作用啊,连续弹出提示框,根本没起到验证的作用,呵呵