Specifies initial value for client side auto incrementing value.
Set AutoIncrementSeed to value, which will be the first auto generated value 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 AutoIncrementSeed 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 AutoIncrementSeed: Integer;
TADAutoIncfield(ADQuery1.FieldByName('ID')).AutoIncrementSeed := -1000;
What do you think about this topic? Send feedback!