RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomClientDataSet.DataRequest Method

Generates an OnDataRequest event on the associated provider

Pascal
function DataRequest(Data: OleVariant): OleVariant; virtual;
C++
virtual __fastcall OleVariant DataRequest(OleVariant Data);

Call DataRequest to invoke an OnDataRequest event handler. This method is provided to allow application developers to customize the communication between a client application and an external provider component.  

There is no predefined meaning for the Input parameter or the returned value. Instead, the Data parameter provides the input parameter to an OnDataRequest event handler and DataRequest returns the value that that event handler returns. 

 

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