Datasnap.Provider.TCustomProvider.DataRequest

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

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

C++

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

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