R
Rhonda
In Access 2002
Should I be able to use the activex timer control in vba as I do in vb6?
This is my test form:
Private Sub Timer4_Timer()
Me!Timer4.Enabled = False
bEndTimer4 = True
End Sub
Private Sub cmdTimerTest_Click()
Me!frmTime_Test.Timer4.Interval = 2000
bEndTimer4 = False
Me!frmTime_Test.Timer4.Enabled = True
Do
DoEvents
Sleep 5
LogItem$ = "Timer now timing"
Forms!frmTimer_Test.List46.AddItem LogItem$
Loop Until bEndTimer4
End Sub
It never reaches the interval. What might I be doing wrong?
Should I be able to use the activex timer control in vba as I do in vb6?
This is my test form:
Private Sub Timer4_Timer()
Me!Timer4.Enabled = False
bEndTimer4 = True
End Sub
Private Sub cmdTimerTest_Click()
Me!frmTime_Test.Timer4.Interval = 2000
bEndTimer4 = False
Me!frmTime_Test.Timer4.Enabled = True
Do
DoEvents
Sleep 5
LogItem$ = "Timer now timing"
Forms!frmTimer_Test.List46.AddItem LogItem$
Loop Until bEndTimer4
End Sub
It never reaches the interval. What might I be doing wrong?