FireDAC.Comp.DataSet.TFDDataSet.SetRangeEnd
Delphi
procedure SetRangeEnd;
C++
void __fastcall SetRangeEnd();
Contents
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FireDAC.Comp.DataSet.pas FireDAC.Comp.DataSet.hpp |
FireDAC.Comp.DataSet | TFDDataSet |
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;