Show: Delphi C++
Display Preferences

IBCustomDataSet.TIBGeneratorField.Generator

From XE2 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
IBCustomDataSet.pas
IBCustomDataSet.hpp
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.

Personal tools
Previous Versions
Translations