IBX.IBCustomDataSet.TIBGeneratorApplyEvent
Delphi
TIBGeneratorApplyEvent = (gamOnNewRecord, gamOnPost, gamOnServer);
C++
enum DECLSPEC_DENUM TIBGeneratorApplyEvent : unsigned char { gamOnNewRecord, gamOnPost, gamOnServer };
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| enum | public | IBX.IBCustomDataSet.pas IBX.IBCustomDataSet.hpp | IBX.IBCustomDataSet | IBX.IBCustomDataSet | 
Description
TIBGeneratorApplyEvent indicates when a generator should create field values. TIBGeneratorApplyEvent values are:
| Value | Meaning | 
|---|---|
| gamOnNewRecord | The dataset calls the server to generate the field value immediately after it inserts or appends a new record (before the OnNewRecord event). | 
| gamOnPost | The dataset calls the server to generate the field value immediately before it posts a record to the server (before the BeforePost event). | 
| gamOnServer | The dataset does not need to call the server to generate field values: the server generates these values automatically. With gamOnServer, TIBGeneratorField serves primarily to ensure that the user is not required to enter a value in the field. |