Data.Win.ADODB.TCustomADODataSet.FilterOnBookmarks
Delphi
procedure FilterOnBookmarks(Bookmarks: array of const);
C++
void __fastcall FilterOnBookmarks(System::TVarRec *Bookmarks, const int Bookmarks_High);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Data.Win.ADODB.pas Data.Win.ADODB.hpp |
Data.Win.ADODB | TCustomADODataSet |
Description
Filters a dataset to just rows with pre-defined bookmarks.
Use FilterOnBookmarks to filter an ADO dataset to display only those data rows for which a bookmark has been defined. To successfully use FilterOnBookmarks, you must have already defined at least one valid bookmark in the dataset.
When FilterOnBookmarks is called, the Filter property is automatically cleared, the FilterGroup property is set to fgUnassigned, and the Filtered property is set to true.