RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataSetProvider.OnGetData Event

Occurs after a provider retrieves data but before it is sent to the client.

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

Write an OnGetData event handler to perform any custom data processing the provider should handle before returning data to a client. The OnGetData event occurs after a provider fetches data from its dataset but before the data is sent on to the client. Using the methods of the DataSet parameter, data can be edited in the OnGetData event handler before sending it to the client dataset or XML broker.

Note: OnGetData occurs when the Data property is read, as well as when the GetRecords method is called.
 

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