MarBar77 Posted August 3, 2018 Share Posted August 3, 2018 I have to make some database records refreshing when there is no active session. 1) I have a desktop app. 2) I put UniTimer on MainForm, and it doesn't work when only app is running and there is no active connections to server. 3) I tried tu put UniTimer on ServerModule and I have get Access Vilotation 4) I put UniTimer on MainModule, and it doesn't work. So my question is how/where can I make some activities when app is running and there is no active connection? Marcin Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 3, 2018 Share Posted August 3, 2018 Hi, Use TuniThreadTimer TuniThreadTimer is a server side timer. It runs in server in its own thread and has no connection to client side. It is not bound to any session. It can be used to run server side tasks and other internal tasks. Quote Link to comment Share on other sites More sharing options...
MarBar77 Posted August 3, 2018 Author Share Posted August 3, 2018 Hi, Thank you for your response. Quote Link to comment Share on other sites More sharing options...
Volk65 Posted August 3, 2018 Share Posted August 3, 2018 Thank you DD, it came in handy for me too. Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted February 19, 2019 Share Posted February 19, 2019 Usando este componente (TuniThreadTimer), como executo um comando no banco de dados se minha conexão estiver em UniMainModule? 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.