IBX.IBCustomDataSet.TIBCustomDataSet.Post
Delphi
procedure Post; override;
C++
virtual void __fastcall Post();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | IBX.IBCustomDataSet.pas IBX.IBCustomDataSet.hpp |
IBX.IBCustomDataSet | TIBCustomDataSet |
Description
Writes a modified record to the database server.
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.