本帖最后由 bcrun 于 2011-01-12 11:46:10 编辑

解决方案 »

  1.   

    adodc1连接是单表吗,是以可读写的方式打开表吗
      

  2.   

    说错了,加个
    Adodc1.Refresh
      

  3.   

    我试了下可以
        Adodc1.ConnectionString = "Provider=microsoft.jet.oledb.4.0;data source=E:\AccessDB\Database1.mdb;"
        Adodc1.RecordSource = "select id from Table1 order by id "
        Adodc1.Refresh
        Adodc1.Recordset.AbsolutePosition = 1
        Debug.Print Adodc1.Recordset.Fields(0)
        Adodc1.Recordset.Delete adAffectCurrent