FireDAC.Comp.DataSet.TFDAutoIncField.AutoIncrementStep

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: published
Source:
FireDAC.Comp.DataSet.pas
FireDAC.Comp.DataSet.hpp
Unit: FireDAC.Comp.DataSet
Parent: TFDAutoIncField

Delphi

property AutoIncrementStep: Integer read FAutoIncrementStep

C++

__property int AutoIncrementStep = {read=FAutoIncrementStep, write=SetAutoIncrementStep, default=-1};

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.

See Also