RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TTable.SetRangeStart Method

Indicates that subsequent assignments to field values specify the start of the range of rows to include in the dataset.

Pascal
procedure SetRangeStart;
C++
__fastcall SetRangeStart();

Call SetRangeStart to put the dataset into dsSetKey state, erase any previous start range values, and set them to NULL. Subsequent field assignments to the FieldValues property indicate the actual set of starting values for a range.  

After assigning start-range values to FieldValues, call ApplyRange to activate the modified range.

Note: With Paradox or dBASE tables, SetRangeStart works only on indexed fields. With SQL databases, SetRangeStart also works with any columns specified in the IndexFieldNames property.
 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!