Wrox Home  
Search P2P Archive for: Go

  Return to Index  

access thread: Event TimerInterval stops


Message #1 by bjorn@e... on Wed, 27 Nov 2002 23:02:12
I have a form that has code that is executed On Timer for a set Timer 
Interval. Sometimes when the user is working on the form (other code is 
then being executed) the timer stops and the only way to start it again is 
to close the form and re-open it. 

What can I do about this? Is this a MS bug or my bad programming? The code 
must run at least once every minute because it stamps the current time 
into a table and the whole database is based on that timestamp. Is there a 
better way to execute code on time intervals? Would another hidden form 
execute the On Timer code solve the problem?

Thanks beforehand

Bjorn Ottosson
Message #2 by "bwarehouse" <bwarehouse@y...> on Thu, 28 Nov 2002 11:23:28 -0700
what is the code that stops the timer code from running?

later,
bware

-----Original Message-----
From: bjorn@e... [mailto:bjorn@e...]
Sent: Wednesday, November 27, 2002 11:02 PM
To: Access
Subject: [access] Event TimerInterval stops


I have a form that has code that is executed On Timer for a set Timer 
Interval. Sometimes when the user is working on the form (other code is 
then being executed) the timer stops and the only way to start it again is 
to close the form and re-open it. 

What can I do about this? Is this a MS bug or my bad programming? The code 
must run at least once every minute because it stamps the current time 
into a table and the whole database is based on that timestamp. Is there a 
better way to execute code on time intervals? Would another hidden form 
execute the On Timer code solve the problem?

Thanks beforehand

Bjorn Ottosson


  Return to Index