RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataSource.OnUpdateData Event

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

Pascal
property OnUpdateData: TNotifyEvent;
C++
__property TNotifyEvent OnUpdateData;

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 dataset's Post method is executed. An OnUpdateData event handler might be useful for performing additional data processing or validation before posting. 

 

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