Refresh tables in separate thread
Posted on 2006-07-14
In the AfterRefresh-event of Table1 there are serveral other tables that need to be refreshed.
procedure TForm1.TTable1AfterRefresh(DataSet: TDataSet);
What I want to do is adding the AfterRefresh-code into a separate thread. This way the user doesn't have to wait till the other tables are refreshed. At least that is the way I think I might increase the performance.
Can anybody supply me with an example on how to set this up (including cleanup of the thread after usage). Any other solutions are welcome too.
Thank you for your help.