while not Eof do
      begin
        Edit;
        FieldByName('AK').AsInteger := RecNo;
        Next;
      end;每次修改时总说RowNum Can't be modified.   AK是一个整型字段