|
-
May 25th, 2004, 11:25 AM
#1
Thread Starter
Member
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
-
May 25th, 2004, 12:19 PM
#2
Thread Starter
Member
Anyone have any ideas on this one?
-
May 25th, 2004, 01:43 PM
#3
Addicted Member
Is it not firing or not updating? E.g., if you put in a msgbox or debug.print, what happens?
-
May 25th, 2004, 01:47 PM
#4
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.
-
May 25th, 2004, 01:49 PM
#5
Addicted Member
Either that or the data is not refreshing, so he thinks it is not firing...
-
May 26th, 2004, 07:58 AM
#6
Fanatic Member
Try refreshing the form.
e.g form1.refresh
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|