[求助]打不开数据库
sccs = "select l_phone from fuser where l_phone='" & t_phone & "'"rs.Open sccs, conn, adOpenStatic, adLockReadOnly
If rs.RecordCount <= 0 Then
MsgBox ("数据已删除!")
rs.Close
Exit Sub
End If
mif = MsgBox("是否确定删除?", vbYesNo + vbQuestion, "删除")
If mif = vbYes Then
sc = "delete from fuser where l_phone ='" & t_phone & " ' "
rs.Open sc, conn, adOpenStatic, adLockReadOnly //提示着打不开数据库,但是我前面的查询时能打开,ado控件已经打开了
MsgBox ("删除成功!")
End If