SEARCH
TOOLBOX
LANGUAGES

On Before Execute

From Morfik Wiki

Jump to: navigation, search

This event is fired by a Form (or Report) on the server after the Form (or Report) is created and before the process of preparing response for a request is begun.

Where

Server

Sample code

FX Code

Procedure Form1.WebFormBeforeExecute(Sender: TWebDocument; Var PContinue: Boolean);
Begin
    If ValueId <> '' Then
        SQLFilter := '"testId" > ' + IntToStr(ValueId.ToInteger + 5);
End;
Applies to

Form, Report

Related Topics

Events