RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataSetProvider.OnUpdateData Event

Occurs when a provider begins to apply updates.

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

Write an OnUpdateData event to handle special processing before the provider begins applying updates received from the client dataset or XML broker. Using the methods belonging to the DataSet parameter, an application can  

Examine data (for example, for values or data changes that should not permitted), and raise exceptions that cancel applying of updates before they occur. 

Change data (for example encrypting or decrypting values) before it is sent on to the source dataset or database server. 

 

applyupdates 

beforeupdaterecord 

Adding Custom Information to Data Packets 

Editing Delta Packets Before Updating the Database 

Influencing How Updates Are Applied

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!