IBX.IBCustomDataSet.TIBGeneratorField.Generator

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Generator : string read FGenerator write FGenerator;

C++

__property System::UnicodeString Generator = {read=FGenerator, write=FGenerator};

Properties

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

Description

Names the generator on the server that TIBGeneratorField calls to generate field values.

TIBGeneratorField uses Generator, along with the IncrementBy 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.