Data.DB.TDataSource.OnUpdateData

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnUpdateData: TNotifyEvent read FOnUpdateData write FOnUpdateData;

C++

__property System::Classes::TNotifyEvent OnUpdateData = {read=FOnUpdateData, write=FOnUpdateData};

Properties

Type Visibility Source Unit Parent
event published
Data.DB.pas
Data.DB.hpp
Data.DB TDataSource

Description

Occurs when the data in the current record is about to be updated.

Write an OnUpdateData event handler to take specific actions prior to posting data changes to the database. If an application posts changes to the database and an OnUpdateData event handler exists, the handler is called before the Post method of the dataset is executed. An OnUpdateData event handler might be useful for performing additional data processing or validation before posting.

See Also