trudye10
Programmer
- Sep 8, 2006
- 67
Hi Guys, I am trying to execute a function every minute. It works the first time, the intervalTimer waits a minute before it exec the code the first time, after that it exec it every second. How can I get it exec every 60 seconds?
Thanx,
Trudye
Code:
Private Sub Form_Timer()
Me![lblclockview].Caption = Time
Do While cnt < 6
If Me.TimerInterval = 60000 Then
Time_To_Compress
cnt = cnt + 1
Me![lblCountWarnings].Caption = cnt
End If
Loop
End Sub
Thanx,
Trudye