Bde.DBTables.TTable.SetRangeEnd
[–] Properties | |
---|---|
Type: procedure function
| |
Visibility: public | |
Source: Bde.DBTables.pas Bde.DBTables.hpp
| |
Unit: Bde.DBTables | |
Parent: TTable |
Delphi
procedure SetRangeEnd;
C++
void __fastcall SetRangeEnd();
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.