procedure Post; virtual;
virtual void __fastcall Post(void);
Implements a virtual method to write a modified record to the database or change log.
TDataSet implements a virtual method to write a modified record to the database or change log. 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.
Different types of datasets handle posting differently:
BDE-enabled datasets post records directly to the database server unless CachedUpdates is true. When caching updates, BDE-enabled datasets post records to an internal change log until they are applied to the database by calling ApplyUpdates.
ADO and InterBaseExpress datasets post records directly to the database server.
Client datasets post records to an internal change log until they are applied to the database by calling ApplyUpdates or merged with the client dataset's data by calling MergeChangeLog.
Unidirectional datasets are read-only and do not post records at all.
Designers of custom datasets can choose whether to implement Post by writing records to the database server or to an internal change log.