RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomProvider.DataRequest Method

Generates an OnDataRequest event.

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

Write an OnDataRequest event handler and call the DataRequest function to invoke the event handler at runtime. This function and the event it invokes enable an application to perform custom processing in response to a request for data.

Note: Calling the client dataset's DataRequest method causes a call to the provider's DataRequest method.
 

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