DBGrid - Multiselection work not correct after delete a record
Posted: Thu 10 Jan 2008 17:22
Hello
I use a TDBGrid with option dgMultiselect. The DBGrid use TMSQuery with option Cachedupdates = True.
First I select all records in dbgrid.
After deleting some records with
MyMSQuery.Delete;
some selections in the grid goes lost, because the internal comparsion RowIsMultiSelected in tDBGrid.DrawCell don't work well.
The problem:
After some delete Datalink.Datasource.Dataset.Bookmark return some false results und the dbgrid show wrong selections.
Is it possible, that bookmark after a delete brings a different result?
I use SDAC 4.30.0.12 prof and Delphi 2007 Enterprise with December update
Martin
I use a TDBGrid with option dgMultiselect. The DBGrid use TMSQuery with option Cachedupdates = True.
First I select all records in dbgrid.
After deleting some records with
MyMSQuery.Delete;
some selections in the grid goes lost, because the internal comparsion RowIsMultiSelected in tDBGrid.DrawCell don't work well.
The problem:
After some delete Datalink.Datasource.Dataset.Bookmark return some false results und the dbgrid show wrong selections.
Is it possible, that bookmark after a delete brings a different result?
I use SDAC 4.30.0.12 prof and Delphi 2007 Enterprise with December update
Martin