Occurs when the user function is called in the SQL-statement.
property OnExecute: TLiteFunctionExecuteEvent;
Use the OnExecute event handler to define the implementation of the function. Parameters that were passed to the function when it was called in an SQL statement, are accessible through the Params property. The resulting value of the function has to be passed back using the ResultValue variable.