IBX.IBCustomDataSet.TIBGeneratorField.IncrementBy

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property IncrementBy : Integer read FIncrementBy write FIncrementBy;

C++

__property int IncrementBy = {read=FIncrementBy, write=FIncrementBy, nodefault};

Properties

Type Visibility Source Unit Parent
property published
IBX.IBCustomDataSet.pas
IBX.IBCustomDataSet.hpp
IBX.IBCustomDataSet TIBGeneratorField

Description

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

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.