while not adotable1.eof do
beginadotable1.next
end;

解决方案 »

  1.   

    先判断一下:
    if not adoquery1.eof then
      next;
      

  2.   

    完全同意上面的做法,不过也有可能是你的ADO有问题了,如果上面提供的方法不能解决你的问题的话,基本上就可以确定你应该重新安装你的ADO了
      

  3.   

    有朋友提供我的解决方法是把lock type 设为ltReadOnly,将cursor type设为ctDynamic,虽然解决了,但在edit时不能进行,如何处理?请问这两个属性是什么意思?
      

  4.   

    lock type 设为ltReadOnly是只读啊
      

  5.   

    while not eof do
    begin       next;
    end;