procedure TfrmdbxError.DBGrid1ColExit(Sender: TObject);
begin
if dmHandleError.cdsAuthors.State = dsEdit then
dmHandleError.cdsAuthors.Post;
begin
if dmHandleError.cdsAuthors.State = dsEdit then
dmHandleError.cdsAuthors.Post;
end;
可能不用写这个了;因为这个事界面上的,不是数据变化上的,这样写不和逻辑;在cds.fields[i].OnChange里面post也可以