FireDAC.Comp.DataSet.TFDDataSet.SetRangeEnd
[–] Properties | |
---|---|
Type: procedure function
| |
Visibility: public | |
Source: FireDAC.Comp.DataSet.pas FireDAC.Comp.DataSet.hpp
| |
Unit: FireDAC.Comp.DataSet | |
Parent: TFDDataSet |
Delphi
procedure SetRangeEnd;
C++
void __fastcall SetRangeEnd();
Description
Sets the ending values of a range.
Use SetRangeEnd to put the dataset into the dsSetKey
state and erase any previously specified ending range values.
After that, the application can assign ending range values to the dataset indexed fields.
Example
FDQuery1.IndexFieldNames := 'CUST_NO';
...
FDQuery1.SetRangeEnd;
FDQuery1.FieldByName('CUST_NO').AsInteger := 200;
...
FDQuery1.ApplyRange;