if state in dsEditModes then ;

解决方案 »

  1.   

    if State = dsEdit then
      

  2.   

    if (query.state=dsEdit) or (query.state=dsInsert) then 
    begin 
    ......
    end;
      

  3.   

    if state in [dsEdit,dsInsert] thenelse赞成:pwq(公雞)\artman()\ lwk_hlj(阿凯)    
    本人:骗分~~呵呵
      

  4.   

    不行啊, 错误信息如下:
    undeclared identifier 'dsedit'
    很奇怪,delphi6的帮助里也有这个说明啊, 为什么编译不过去呢???