Page 1 of 1

Monitor only one Connection

Posted: Thu 12 May 2016 10:44
by serocool
Hi,
i have two Uniconnections in my Project and i will only monitor (UnisqlMonitor) one Connection (one for Logging and one for Live Data). Is this possible and if it is, how can i do this?
Best Regards

Re: Monitor only one Connection

Posted: Thu 12 May 2016 11:19
by AlexP
hello,

Such functionality are not supported.

Re: Monitor only one Connection *SOLVED*

Posted: Thu 12 May 2016 14:27
by serocool
OK, i found an Solution by my self :)

TForm1.UniSQLMonitor1SQL(Sender: TObject; Text: string;
Flag: TDATraceFlag);
begin
if TUniTable(Sender).Connection=MyConnection then ...
or
if TUniQuery(Sender).Connection=MyConnection then ...
....
end;

Re: Monitor only one Connection

Posted: Fri 13 May 2016 05:04
by AlexP
Glad to see that you have found the solution. If you have any other questions, feel free to contact us