Specifies incrementing step for client side auto incrementing value.
Set AutoIncrementStep to value, to which will be the auto generated value incremented for new record column.
AnyDAC recognizes negative auto incremental values, as explicitly generated by dataset at client side. Default value is -1.
The value of AutoIncrementStep property may be changed only if dataset is inactive. After dataset is closed, the internal auto incremental value generator is reset to AutoIncrementSeed value.
property AutoIncrementStep: Integer;
TADAutoIncfield(ADQuery1.FieldByName('ID')).AutoIncrementStep := -1;
What do you think about this topic? Send feedback!