FireDAC.Comp.DataSet.TFDAutoIncField.AutoIncrementStep
Delphi
property AutoIncrementStep: Integer read FAutoIncrementStep write SetAutoIncrementStep default -1;
C++
__property int AutoIncrementStep = {read=FAutoIncrementStep, write=SetAutoIncrementStep, default=-1};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | FireDAC.Comp.DataSet.pas FireDAC.Comp.DataSet.hpp |
FireDAC.Comp.DataSet | TFDAutoIncField |
Description
Specifies the incrementing step for the client-side autoincrementing value.
Set AutoIncrementStep to the value of the autogenerated value for a new record column obtained by incrementing the initial value.
FireDAC recognizes negative autoincrementing values, as explicitly generated by the dataset at the client side. The default value is -1.
The value of the AutoIncrementStep property can be changed only if the dataset is inactive. After the dataset is closed, the internal autoincrementing value generator is set to the AutoIncrementSeed value.