Data.SqlExpr.TSQLMonitor.OnTrace
Delphi
property OnTrace: TTraceEvent read FOnTrace write FOnTrace;
C++
__property TTraceEvent OnTrace = {read=FOnTrace, write=FOnTrace};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | Data.SqlExpr.pas Data.SqlExpr.hpp |
Data.SqlExpr | TSQLMonitor |
Description
Occurs when a message is detected but before it is logged to the list.
Write an OnTrace event handler to screen or edit messages before they are added to TraceList. OnTrace occurs for every message that passes between the dbExpress driver and the database server, not just those that meet the criteria specified by TraceFlags.