Newbie - Must be not doing something lazarus / 16-Databases ---------------------------------------------------------------------- ap · 2010-09-08 12:18 I have table1 (quite large) and a grid containing that table showing.  Basically I am iterating through the data seeing if some conditions are met and if they are outputting the 'matches' to table2 (also with a grid showing that data).  What is happening is when I run the program the first record in table1 is always showing and nothing (initially) is output in the 'matches' grid.  Once the process completely finishes then all the matches show.  The outcome is exactly what I want but the searches I am doing can take hours to run and I have no idea whether the program has stopped or not (other than CPU working hard and the hard disk as well).  I have tried at each record to send some info to a Label so I can at least see that records are moving along but nothing happens there either.  I think there must be a compiler setting or something or I need to enable something so the grid updates when a match is found.  I also suspect that this has been covered before here but I have tried searching but cannot find anything.  Any help appreciated. ---------------------------------------------------------------------- ap · 2010-09-08 12:40 Just tried on Linux (Ubuntu) rather than Windows 7.  After changing location of tables I ran the program.  After a while the screen greys out but the program is still running (hard disk being accessed constantly).  As the computer I have Linux on is an older notebook it could be a while before it completes but it probably will just come back to life with the results showing as expected. ---------------------------------------------------------------------- theo · 2010-09-08 14:45 After the Label update write Application.Processmessages ---------------------------------------------------------------------- ap · 2010-09-08 19:48 Thank You.  Issue solved.