RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IBCustomDataSet.TIBGeneratorApplyEvent Enumeration

TIBGeneratorApplyEvent indicates when a generator should create field values.

Pascal
TIBGeneratorApplyEvent = (
  gamOnNewRecord,
  gamOnPost,
  gamOnServer
);
C++
enum TIBGeneratorApplyEvent {
  gamOnNewRecord,
  gamOnPost,
  gamOnServer
};

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. 

 

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