Sign in Join
FPDoc Onlineexperiment

TDataSource.OnUpdateData property

Member of TDataSourcepublishedIn unit DB

Called whenever the data in the dataset must be updated.

Declaration

pascal
property OnUpdateData: TNotifyEvent read FOnUpdateData write FOnUpdateData;

Description

OnUpdateData is called whenever the dataset needs the latest data from the controls: usually just before a Post operation. It can be used to copy data from non-db-aware controls to the dataset just before the dataset is posting the changes to the underlying database.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.