isosrl Posted April 18, 2016 Posted April 18, 2016 Hi, I need to refresh data of a TUniDBGrid each X minutes, so I use a TUniThreadTimer and in the OnTimer event I close and Open the query but the new data are not refreshed in the grid. I did also a TUniDBGrid.Refresh and/or MainForm.Refresh with no success... But if I put a button and click on it the grid is refreshed... What I miss ? Thanks, Francesco Quote
Sherzod Posted April 18, 2016 Posted April 18, 2016 Hi, Can you make a small test case ?! Best regards. Quote
isosrl Posted April 18, 2016 Author Posted April 18, 2016 My project get data from SQLServer...even if I post the project, you should have SQLServer installaed and database... Or do you wish to see source code ? Quote
isosrl Posted April 18, 2016 Author Posted April 18, 2016 I found the problem ! I have changed TUniThreadTimer with TUniTimer and now works as it should. Thanks for you support ! Quote
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.