Datasnap.Provider.TCustomProvider.DoBeforeRowRequest

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

procedure DoBeforeRowRequest(var OwnerData: OleVariant); virtual;

C++

virtual void __fastcall DoBeforeRowRequest(System::OleVariant &OwnerData);

Description

Generates a BeforeRowRequest event.

The RowRequest method calls DoBeforeRowRequest to generate the BeforeRowRequest event before fetching the requested data.

OwnerData supplies custom information to the BeforeRowRequest event handler. The event handler can change this value. The returned value is then passed to an AfterRowRequest event handler and then returned to the caller of the RowRequest method.

See Also