RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TIBGeneratorField.Generator Property

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

Pascal
property Generator: string;
C++
__property AnsiString Generator;

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

 

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