| C1.Data.2 Assembly > C1.Data Namespace > BaseDataTableSource Class : Seek Method |
'Declaration Public Function Seek( _ ByVal key() As System.Object, _ ByRef exactMatch As System.Boolean _ ) As System.Boolean
public System.bool Seek( System.object[] key, out System.bool exactMatch )
This method seeks for the search key in the whole rowset. If the search key is greater than all the keys in the rowset, the method returns False. Otherwise, it finds the first row with the key greater than or equal to the search key, positions the component on the found row (so the properties BaseDataSourceComponent.Position and CurrentRow point to the found row) and returns true. It also sets the ExactMatch argument to indicate whether an exact match was found or the first row with key value greater than the search key.
BaseDataTableSource Class
BaseDataTableSource Members
C1DataTableSource Class
C1ExpressTable Class
Virtual Mode - Dealing with Large Datasets