Bde.DBTables.TTable.SetRangeEnd
Delphi
procedure SetRangeEnd;
C++
void __fastcall SetRangeEnd(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Bde.DBTables.pas Bde.DBTables.hpp |
Bde.DBTables | TTable |
Description
Indicates that subsequent assignments to field values specify the end of the range of rows to include in the dataset.
Call SetRangeEnd to put the dataset into dsSetKey state, erase any previous end range values, and set them to NULL. Subsequent key buffer field assignments can be made using the FieldByName method to set the ending values for a range.
After assigning end-range values to FieldValues, call ApplyRange to activate the modified range.
Note: With Paradox or dBASE tables, SetRangeEnd works only on indexed fields. With SQL databases, SetRangeEnd also works with any columns specified in the IndexFieldNames property.