RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TIBGeneratorField.IncrementBy Property

Names the amount by which a generator on the server increments the value of the associated field.

Pascal
property IncrementBy: Integer;
C++
__property int IncrementBy;

TIBGeneratorField uses IncrementBy, along with the Generator property, to generate the SQL statement that fetches the generated field value. The generated SQL statement has the form  

SELECT GEN_ID(Generator, IncrementBy) FROM RDB$DATABASE 

Where 'Generator' is replaced by the value of Generator and 'IncrementBy' is replaced by the value of IncrementBy. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!