DBAdapt.TCustomDataSetAdapterAction.OnExecute
From RAD Studio API Documentation
Delphi
property OnExecute: TActionExecuteEvent read FOnExecute write FOnExecute;
C++
__property Webadapt::TActionExecuteEvent OnExecute = {read=FOnExecute, write=FOnExecute};
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| event | public | DBAdapt.pas DBAdapt.hpp |
DBAdapt | TCustomDataSetAdapterAction |
Description
Occurs when server-side script executes this action.
Write an OnExecute event handler to provide your own implementation for the dataset adapter action. If you supply an event handler for this event, then the event handler replaces the default behavior of the action object. That is, when server-side script calls on this action to execute, the WebSnap application executes the OnExecute event handler instead of the built-in response of the action component.
Before the OnExecute event executes, the action fetches all parameter values from the current request and puts the parent adapter into the mode that the current request indicates.