do while isnull(rs(get))=true
     rs.movenext  
loop

解决方案 »

  1.   

    不是吧,while 的判断好象是当while xxx,xxx为真的时候才继续吧。
    应该是do while not rs(get) = null
           rs.movenext
          loop
      

  2.   

    rs(get) = null
    这样也可以判断是否为空??
      

  3.   

    if trim(rs(get))<>"" and "" & rs(get)="" then.....'也可以
      

  4.   

    应该这样用:
    do while not isnull(rs(get))
      rs.movenext
      doevents
    loop
      

  5.   

    do while isnull(rs(get))= true 
              rs.movenext
    looprs(get) = null 的值永远是False;
    可以看看帮助,他会告诉你为什么。