OnProcessEx event fires when component need to execute current statement from SQL script executed by ExecSQL method. Syntax: property OnProcessEx: TMySQLBatchProcessExEvent; Description: Use this event if you want to execute statement by user code with some custom processing. For example you can show resultset for cursor-returning query. Otherwise statement will be executed by component itself without any special processing.
Parameters: Sender Points to TMySQLBatchExecute component generated this error; SQLText SQL query statement text StatementType Type of current statement. Possible values are: ▪mstCursor - Statement that return some resultset. This are SELECT, EXPLAIN, SHOW and DESCRIBE statements for now. ▪mstNonCursor - All other statements. StatementNo The number of the SQL statement in SQL script Processed Set this parameter value to True if you don't want for component execute statement by itself. For example if you've executed it by yourself in event handler. See also: OnBeforeStatement and OnAfterStatement events |