Datasnap.DBClient.TCustomClientDataSet.DataRequest

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Datasnap.DBClient.pas
Datasnap.DBClient.hpp
Unit: Datasnap.DBClient
Parent: TCustomClientDataSet

Delphi

function DataRequest(Data: OleVariant): OleVariant; virtual;

C++

virtual System::OleVariant __fastcall DataRequest(const System::OleVariant &Data);

Description

Generates an OnDataRequest event on the associated provider.

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.

See Also