DeleteRecords 方法中如何设置arFiltered 不会用。
初学者。。路过的大哥帮帮忙 先谢了

解决方案 »

  1.   

    type TAffectRecords = (arCurrent, arFiltered, arAll, arAllChapters);
    procedure DeleteRecords(AffectRecords: TAffectRecords = arAll);arCurrent Only the deletes the current record.
    arFiltered Only deletes records accessible through the current filter.
    arAll Deletes all records in the recordset.
    arAllChapters Deletes records in all chapters (ADO chapters)