-
Timer Control Problem!!!
Hi,
I am using a timer control on a primary form that kicks off every 15 seconds. This refreshes a grid which shows data from a database. My probem is when I click on a menu function, another form pops up that allows me to edit data. When I make the change to the data it updates the database. I then close out the form. However, the primary form that has the timer control now has focus again but is not firing once the form has regained focus. What am I doing wrong.
Thanks,
Blake
-
Anyone have any ideas on this one?
-
Is it not firing or not updating? E.g., if you put in a msgbox or debug.print, what happens?
-
Just a guess. You disabled the Timer but do not re-enable it.
A Timer event will fire regardless of whether the form has focus or not.
-
Either that or the data is not refreshing, so he thinks it is not firing...
-
Try refreshing the form.
e.g form1.refresh