为什么 rs.recordcount的返回值为-1
cn.Open "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=jc;Data Source=SXQ"
strsql="select * from AA"
rs.Open strsql, cn, adOpenStatic, adLockBatchOptimistic
If rs.RecordCount = 0 Then
MsgBox "没有适合条件的记录"
Exit Sub
End If