TADOQuery.close
TADOQuery.Active:=false;
TADOQuery.Destroy
那一个可以closes cursor谢谢!

解决方案 »

  1.   

    Close 或者 Activer := False 都可以。
      

  2.   

    我现在用的也是Active:=false;但在进行较大的查询的时候就会报cursor不足的问题
    我已经把缺省的cursor数300改为1500了,现在又改到3000了我ft~~~我认为是煤油释放的原因
    再请指教!!
      

  3.   

    刚才在help上查到
    TDataSet.Active
    ……………………
    ……………………
    Note: Calling the Open method sets Active to True; calling the Close method sets Active to False.
    那是不是说Active:=false不行
    一定么用Close method 方法呢,谢谢在线等!
      

  4.   

    不知道cursor是什么东西,
    不过TADOQuery.close和TADOQuery.Active:=false;是一样的
    你看一下TADOQuery就会知道实际上TADOQuery.close过程就是一句Active:=false
      

  5.   

    cursor是游标
    分为显形,和隐形的
    如你在用“select”的时候会隐形的open游标我刚才也看了确实是的
    难道一定TADOQuery.Destroy才能释放cursor吗??