Bookmarks Delphi ADO +

I am currently developing an application that dynamically uses databases.

means that it is designed to work with any db, at any time and with any structures.

I’m worried that I want to β€œtag” or tag certain entries, so I need to use the Filter property to do some sort of search, and in the end I want to remove the filter and search for bookmarked entries ...

however, it seems that the bookmark only works as long as the filter has been installed on the specified filter, so if I select my second bookmarked item, I get a completely different record than I expected, i.e. I made a filter and bookmarked the first record, when I remove my filter and go to bookmark # 1 I still just go to nr record. 1.

Is there any other way to do this? or is it required differently?

hope someone has some crazy genuine solution for this :)

+3
source share
1 answer

Delphi . TDataset.BookMark . , , . , , , .

, - , ; TDataset.BookmarkValid .

( ), . Delphi 2009 TBookMark TBytes. TBookMark . , Delphi Delphi 2009, TStringList . Delphi 2009 , TList ( Generics.Collections) .

DBGrid, DBGrid SelectedRows, TBookMarkList. . multi-select DBGrid.

+4
source

Source: https://habr.com/ru/post/1771260/


All Articles