如题,我用在我的工程里,arCurrent好用,但是换了arAll就不行了,为什么不好用呢,不知原因何在,肯请各位高手解答,
不胜感激,谢谢。

解决方案 »

  1.   

    wo  chonglai  b guanshui de
      

  2.   

    楼主是用什么数据库呀,你是使用什么方式连接数据库,这有很大的关系~~~在线帮助中说,,
    Use DeleteRecords to delete one or more records from the recordset the ADO dataset component represents.If the recordset does not support record deletions, an exception is raised. Use the Supports method to determine whether the recordset supports deleting records;>>arCurrent好用,但是换了arAll就不行了arCurrent删除当前记录,这应该是大多数数据库访问方式,都支持的而arAll删除全部记录有可能会不支持,这时,应该调用TADOTable.Supports查看当前这个dataset支持的cursor operations,,(有些英文,偶不会翻译,就用在线帮助中的了)
      

  3.   

    我能看懂他 的英文帮助,但是他就那么说support method ,
    哈哈,我理解错了,
    我还以为是支持的方法,应该是用TADOTable.Supports这个,
    谢了啊
      

  4.   

    我用的是access数据库,
    因为是个转换程序,没有必要用大型的数据库