Icon SetRange Method

void __fastcall SetRange(System::TVarRec const *StartValues,
      const int StartValues_Size, System::TVarRec const *EndValues,
      const int EndValues_Size)

Usage

Call the SetRange method to specify a range and apply it to the table. A range is set using the active index. The IndexName or IndexFieldNames property specifies the active index. The StartValues parameter indicates the column values that designate the first row in the range. The EndValues parameter indicates the column values that designate the last row in the range. If either the StartValues or EndValues parameters has fewer elements than the number of columns in the active index, then the remaining entries are set to NULL.

The SetRange method combines the functionality of the SetRangeStart, SetRangeEnd, and ApplyRange methods in a single method call.
Image