Datasnap.Provider.TCustomProvider.DoBeforeRowRequest
Delphi
procedure DoBeforeRowRequest(var OwnerData: OleVariant); virtual;
C++
virtual void __fastcall DoBeforeRowRequest(System::OleVariant &OwnerData);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Datasnap.Provider.pas Datasnap.Provider.hpp |
Datasnap.Provider | TCustomProvider |
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.