是吗?
adodb.Execute sql不行??

解决方案 »

  1.   

    With Rs
       '使recordcount>0 
       .CursorLocation = adUseClient  
       .CursorType = adOpenStatic 
       '可以修改和保存    
       .LockType = adLockOptimistic
    End With
      

  2.   

    打开记录集之前:
    ADODB.recordset.CursorLocation = adUseClient
      

  3.   

    adodb.open ....
    adodb.refresh
    adodb.recordset.movelast
    adodb.recordset.movefirst
    msgbox adodb.recordset.recordcount
      

  4.   

    rs.Open sql, cnn, adOpenKeyset, adLockOptimistic