Datasnap.DBClient.TCustomClientDataSet.DataRequest

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

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

Properties

Type Visibility Source Unit Parent
function public
Datasnap.DBClient.pas
Datasnap.DBClient.hpp
Datasnap.DBClient TCustomClientDataSet

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