Trying to make a countdown timer and have written the following code:
Dim intCounter As Integer
intCounter = 60
Do While intCounter > 0
Me!lblCountdown.Caption = intCounter
intCounter = intCounter – 1
Loop
Timer Interval for the form is set to 1000
There will also be code to display “Time Up” or similar.
My problem is that it immediately displays 1, suggesting that the code is not looping once per second, however the looping is working if i step through the code (intCounter reduces by one each loop)
Where am i going wrong???
Thanks