假设RecordA中有30万条数据,我现在需要把第1~10万条数据保存到RecordB中,第11~20万条数据保存到RecordC中,第21~30万条数据保存到RecordD中,该怎么做啊?

解决方案 »

  1.   

    adoRs.pagesize=100000
    msgbox adoRs.Pagecount '总页数
    adoRs.absolutepage=2   '当前访问第2页
    For i=1 to adoRs.PageSize
        if adoRs.eof then exit for
        'RecordSet操作
        adoRs.MoveNext
    Next
      

  2.   

    那怎么把第一页的数据全部保存到另外一个recordset中呢?请教一下啊。
      

  3.   

    为何要从 recordset 中切分? 而不是直接从数据库中分别获取?
      
      

  4.   

    已经解决了。
    http://community.csdn.net/Expert/topic/5155/5155819.xml?temp=.2586023
    用strSql = "select * into [text;database=d:\temp].123.txt from " & Talbe名
    & "in [ODBC][ODBC;dsn=jbcmis;User Name=informix;password=informix;]"