Luis Devis Posted July 24, 2021 Share Posted July 24, 2021 (edited) Hi everyone, I'm trying to use tIBSQLMONITOR with UNIGUI but it is not working. I mean, I can drop a tIBSQLMonitor control in my MainModule where the IBDatabase is set; I can set it enabled to true and code the event ONSQL but.. the event never launches. Is there a way to dinamically capture the instrucctions sent by my app to the Interbase server ? (Firebird) Thanks ☺️ Edited July 24, 2021 by Luis Devis Forgot to say I want to be notified if any answer happens Quote Link to comment Share on other sites More sharing options...
Tokay Posted July 26, 2021 Share Posted July 26, 2021 May be the server module is more suitable place for tIBSQLMONITOR? Quote Link to comment Share on other sites More sharing options...
x11 Posted July 26, 2021 Share Posted July 26, 2021 Dose it work in simple VCL app? Quote Link to comment Share on other sites More sharing options...
x11 Posted July 26, 2021 Share Posted July 26, 2021 Quote Use TIBSQLMonitor to monitor dynamic SQL taking place in InterBase applications. Enable TraceFlags in each TIBDatabase component in order for the SQL monitor to receive status information from each database connection. hlp Quote Link to comment Share on other sites More sharing options...
Abaksoft Posted July 26, 2021 Share Posted July 26, 2021 On 7/24/2021 at 5:46 PM, Luis Devis said: there a way to dynamically capture the instrucctions sent by my app to the Interbase server ? (Firebird) Thanks ☺️ Hello, It looks like IBCAlert, wich can't work with unigui. Why ? Unigui is multi-thread, Asynchrounous environment. These components are'nt. As a feed back (good to know), i can say : these components consume too much ressources (on Standard Vcl). A simple look to the task manager show you something like 35% CPU ! Solution Use instead trigers. Some think like : http://forums.unigui.com/index.php?/topic/14772-how-can-i-receive-database-table-updates-periodically/&do=findComment&comment=81897 Regards. Quote Link to comment Share on other sites More sharing options...
Luis Devis Posted July 29, 2021 Author Share Posted July 29, 2021 OK Thanks a lot to everyone Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.