getbookmark/gotobookmark with TDatasetState = dsInsert

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Ludek
Posts: 301
Joined: Thu 12 Oct 2006 09:34

getbookmark/gotobookmark with TDatasetState = dsInsert

Post by Ludek » Mon 29 Jan 2007 09:52

Having following problem: The bookmark received using GetBookmark call on a freshly inserted record (dataset is still in dsInsert state) is probably not correct - if I subsequently call GotoBookmark using such bookmark, the pointer does not get set to this record, but nearly always to first record of the dataset. Could you please correct it? Thanks, Ludek.

Jackson
Posts: 512
Joined: Thu 26 Jan 2006 10:06

Post by Jackson » Tue 30 Jan 2007 13:07

This is a standard behaviour for descendants of the TDataSet class.
We can't change this behaviour because of compatibility reasons.

Post Reply