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. 

 

OnDataRequest 

ProviderName 

Communicating with Providers Using Custom Events 

Communicating with the Client Dataset 

Responding to Client-generated Events

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