Dim rs1 As New ADODB.Recordset
Dim rs2 As New ADODB.Recordset
就是do while ...
...
loop
的问题现在有2个rs1,rs2判断rs1, rs2是否移动到最后一条记录要两个一起判断的,怎么做,我香
do while not rs1.eof and not rs2.eof
...
...
...
loop这样不行,怎么解决啊?求救谢谢你们了,问题虽然简单但是分我给

解决方案 »

  1.   

    do while (not rs1.eof and not rs2.eof)
    ...
    ...
    ...
    loop
      

  2.   

    do while (not rs1.eof and not rs2.eof)
    ...
    ...
    ...
    loop
      

  3.   

    for i = 0 to rs1.recordcount-1
        for j= 0 to rs2.recordcount-1
            ....
        next j
    next i
      

  4.   

    do while not (rs1.eof or rs2.eof)只要有一个到底就退出