I bound a FNCGrid to the FNCGridDatabaseAdapter and an underlying Aurelius dataset.
If I press INSERT when the grid has focus, what is supposed to happen?
Now a new row is inserted but it is connected with the last fetched object. So any edits actually change an existing object.
When I press DELETE, the row is deleted, but the corresponding object is not removed.
Must I wire the edits in the grid manually to the dataset?
tx Bernd
Additionally, if I insert or delete in the dataset directly, the grid is not updated or all the rows are cleared.
This is, how I feed data to the dataset:
var
Cursor: ICriteriaCursor;
begin
adsTest.Close;
Manager.Clear;
Cursor := Manager.Find<TSoftware>.Open;
adsTest.SetSourceCursor(Cursor);
adsTest.Open;
end;
1 Like
Pieter
(Pieter)
3
Hi,
Inserting via the grid itself is not implemented in the grid database adapter. We'll add this on our todolist for further investigation.