Does forcing a refresh() or draw() on the main form help?
You could put a timer on the main form to refresh the statistics display every x seconds.
The way I would do it is as follows (I always use form classes):
Your 'parent' form class, with a method 'UpdateStatistics' which refreshes the display of statistics. Your 'child' form class is displayed in code. It has an init() method with a property 'oCallingForm' which holds a reference to the 'parent' form.
So in your parent form button: loChildForm = createobject("frmChildForm", thisform) loChildForm.Show()
In the child form Init()
Lparameters loCallingForm This.oCallingForm = loCallingForm
So at some point in the child form you update your table. So you need to refresh the statistics on the parent form:
This.oCallingForm.UpdateStatistics()