Answer the question
In order to leave comments, you need to log in
How to display events from zSQLMonitor in Delphi7 in Memo?
Good afternoon!
I needed to display events from zSQLMonitor from the ZEOSDBO component package in Memo to access MySQL.
Found information that it is possible to load events from normal SQLMonitor as follows:
To display messages, place the Memo component on the form. To fill it, let's create an event handler for the OnLogTrace event of the SQLMonitor1 component with the following code:
Memo1.Clear;
Memo1.LinesAddString(SQLMonitor1.TraceList);
Answer the question
In order to leave comments, you need to log in
Some kind of Integer when:
And for TZLoggingEvent, choose what you need:
function AsString(LoggingFormatter:IZLoggingFormatter = nil): string;
property Category: TZLoggingCategory read FCategory;
property Protocol: string read FProtocol;
property Message: string read FMessage;
property ErrorCode: Integer read FErrorCode;
property Error: string read FError;
property Timestamp: TDateTime read FTimestamp;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question