RAD Studio VCL Reference
TIBCustomDataSet.Post Method

Writes a modified record to the database server.

procedure Post; override;
virtual __fastcall Post();

Post writes any changes to the current record to the database server. Dataset methods that change the dataset state, such as Edit, Insert, or Append, or that move from one record to another, such as First, Last, Next, and Prior automatically call Post. 

Before posting the current record, Post checks the GeneratorField property to determine whether it must generate any field values before posting the record. After changing the generated field, if necessary, Post triggers a BeforePost event, writes the modified record to the server, and then triggers an AfterPost event. 


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