首先要使用本地批处理类型光标,最后再ado.recordset.updateBatch
最好还是用delete 语句

解决方案 »

  1.   

    Do While Not ado.Recordset.EOF
       ado.Recordset.Delete adAffectCurrent
       ado.Recordset.MoveNext
    Loop试一下,呵呵!
      

  2.   

    delete from where 条件
      

  3.   

    使用connection的Execute方法就可以了。myconn.execute "delete * from mytable"
      

  4.   

    用一句话就可以全部删除:
    Ado.Recordset.Delete adAffectAllChapters
      

  5.   

    agree with :
    eaglezhao(笨小子) (2001-12-15 17:15:17)  得0分 
    使用connection的Execute方法就可以了。myconn.execute "delete * from mytable"  
      

  6.   

    GMC007和eaglezhao,你们写的什么破SQL语句?
    拜托,不要在这里误人子弟好不好?????myconn.execute "delete from mytable"