TTMSFNCGrid + Adapter + Aureliusdataset

I can?t get this to work as desired.

I have  areliusdataset -> datasource -> gridadapter -> FNCGrid
No Manager for the dataset is set.
Displaying + editing the data in the grid is ok.
However, when I insert a row into the dataset, the grid reacts correct only, if there immedtiately is a POST. So this works ok:

procedure TForm2.btnInsertRowsClick(Sender: TObject);
begin
  adsTest.Insert;
  adsTest.FieldByName('description').AsString := 'Adobe';
  adsTest.Post;
end;

However, when the focus goes back to the grid bevor the POST, the grid (or the object list?) gets confused:
procedure TForm2.btnInsertClick(Sender: TObject);
begin
  adsTest.Insert;
end;

procedure TForm2.btnPostClick(Sender: TObject);
begin
  adsTest.Post;
end;

Additionally the behaviour of the grid is different, when the dataset is filled by a TList and TCursor. According to the docs there should be no difference.

What am I missing?

We have tested this here but aren't able to reproduce this. Are you using the latest version? We have recently applied some fixes regarding database adapter

I have already sent you a sample that reproduces both problems. Does this work for you?



I updated all sources last week. But I will recheck.

Hi Bernd, We have sent you a patch that should fix all the problems.