RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBaseProvider.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. 

 

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