RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomADODataSet.FilterOnBookmarks Method

Filters a data set to just rows with pre-defined bookmarks.

Pascal
procedure FilterOnBookmarks(Bookmarks: array of const);
C++
__fastcall FilterOnBookmarks(array of const 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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!