Datasnap.Provider.TCustomProvider.DataRequest

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

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

Properties

Type Visibility Source Unit Parent
function public
Datasnap.Provider.pas
Datasnap.Provider.hpp
Datasnap.Provider TCustomProvider

Description

Generates an OnDataRequest event.

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.

See Also