Public Function login() As Boolean
Dim rs As New ADODB.Recordset
Dim strsql As String
strsql = "select * from 密码库 where '" & Me.cbouser & "'"
rs.Open strsql, CurrentProject.connextion
adOpenStatic , adLockReadOnly
If rs.RecordCount > 0 Then
if rs! 密码=me. txtpwd then
login = True
End If
End If
rs.Close
Set rs = Nothing
End Function
if rs! 密码=me. txtpwd then出错了 谢谢帮忙看看怎么改作者: youchytan 时间: 2009-6-20 09:36
传附件作者: shilixi 时间: 2009-6-20 11:41 2#youchytan
谢谢了 帮忙看看 愁死我了