I found problem which manifests in moving grid top record position when assigning to another DataSet. I tried to introduce UNDO functionality to my vtOrder virtual table. In onBeforeEdit event i wrote such function.
Code: Select all
procedure TFormMain.vtOrderBeforeEdit(DataSet: TDataSet);
begin
vtUndo.Assign(vtOrder);
end;
So It seems that Assigning a Virtual Table changes some it's properties (in my opinion it should not). Can you propose any fix?
Michal