Private Sub Command1_Click()
If Text2 = "" Then
MsgBox "Ingrese su Password Usuario", vbCritical, "Atención" 'despliega el siguiente mensaje
Text2.SetFocus
Else
sql = "select Pass_User from Usuario where Pass_User like '" + Text2.Text + "%'"
Set rst = cnn.Execute(sql)
If rst.EOF = True Then
MsgBox "Password Incorrecto", alert, "Atención"
Else
MsgBox "Bienvenido", alert, "Atención"
Usuario.Show
Unload Me
rst.MoveNext
Set rst = Nothing
End If
End If
End Sub