[求助]错误提示 我不明白他意思
Private Sub CmdYes_Click()
If Data1.Recordset.BOF = False Then Data1.Recordset.MoveFirst
Do Until Data1.Recordset.NoMatch
If Data1.Recordset.EOF Then Exit Do
If Data1.Recordset("用户名") = Text1.Text And Data1.Recordset("密码") = Text2.Text Then
Text1.Text = ""
Text2.Text = ""
Me.Hide
Guanli.Show
Exit Sub
End If
Data1.Recordset.MoveNext
Loop
MsgBox "用户名不存在,或者密码错误", vbOKOnly, "警告"
Text1.Text = ""
Text1.Text = ""
Text1.SetFocus
End Sub
错误在我加下划线的地方 不明白 请高人指点
错误提示是
实时错误'3426'
该操作被关联对象取消