ADOTable1:Cannot perform this operation on a closed dataset.这个问题怎么解决。是点击有关按钮就会出现这个问题。急啊~~~

解决方案 »

  1.   

    你的ADOTable1没有OPEN就进行数据操作吧?
      

  2.   


    if not ADOTable1.Active then ADOTable1.Active:=true;
    ...你的操作语句
      

  3.   

    好像是,那请教下怎么open呢??
      

  4.   

    不是没有open,是忘了设置好数据源。
      

  5.   

    数据源没有打开:
    with adoquery1 do
    begin
        if not Active then
        begin
          open;
        end;
    end;
      

  6.   

    属性里面的数据来源,比如tablename什么的,是不是有遗漏的?