Opps! Forgot to mention that the code is in the first timers Timer event.
>Hi,
>
>I would like to have a timer within a timer. Here is the code I've tried so far:
>
>*do some stuff
>oTimer = createobject("timer")
>WITH oTimer
> .interval = 5000
>endwith
>* how to make oTimer start?
>* do some more stuff
>
>
>I was playing with the inkey command for a while. The reason why this wouldn't work is that there is a stop button on the form. When I click the stop button I set the first timer.enabled to false. (hopefully this would also stop oTimer)
>
>Any ideas?
>
>Thanks,
>Chris