I'm trying to configure a timer to run every 3 minutes in VBA, to loop through my Access database table and validate data. I'm stuck at the point of starting the timer. I wrote this mini script to test the timer:
Function JobNameValidate()
MsgBox ("Hello")
'callAgain.OnTimer
End Function
Function callAgain()
callAgain.TimerInterval = 300000
Forms("HiddenForm1").OnTimer
JobNameValidate
End Function
It loops fine, however it loops instantly, regardless of the TimerInterval
put in. I couldn't find any helpful documentation about this online.