I want to add a 2 sec pause to a 'Next Record' event in a macro

E

efandango

I have a form with 10 records that require a user answer for each record.
These are pretty quick-fire questions, and i expect the user to get through
them quicker each time they take the test. To avoid the process becoming
tiresome, I want the user to avoid having to hit the small 'record selector'
button each time they want a new question (or hitting any other button), so i
made a macro to simply 'Go to Next Record' after each update; the problem is
that the process happens too quickly and the user cannot see the 'AnswerBox'
on the current record to see if they are correct, before the next macro
brings up the next record. How can i slow things down?

Is there a function/value I can put in the macro to make it wait a second or
so before going to the next record?
 
S

Steve Schapel

Efandango,

One possible approach is to replace the GoToRecord action in your
existing macro, with a SetValue action, to set the value of the form's
TimerInterval property to 2000 (i.e. 2 seconds). Then, make another
macro, which includes your GoToRecord action, and also another SetValue
to put the TimerInterval back to 0, and then assign this second macro on
the On Timer event property of the form.

I have not tested this, but it looks like it should work.
 
E

efandango

Thanks Steve,

That sounds like a clever idea that may just work...

....I'll let you know
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top