Re: delaying an event for several seconds
- From: "Brendan Reynolds" <brenreyn@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 17 Sep 2006 18:33:23 +0100
Try using the API Sleep function. There's code to call it from VBA at the
following URL ...
http://www.mvps.org/access/api/api0021.htm
--
Brendan Reynolds
Access MVP
"jonefer" <jonefer@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:4D6C80E6-04B1-455F-B5A6-BCD91B9A1E89@xxxxxxxxxxxxxxxx
I'd like to delay the event of a command button for several seconds so
that I
can focus my cursor onto another window of another app.
Is it possible to set a delay without a timer event that cycles?
if so -- any suggestions?
Also - when the event runs - will it re-focus back to the form that calls
it?
.
- Follow-Ups:
- Re: delaying an event for several seconds
- From: David Cox
- Re: delaying an event for several seconds
- Prev by Date: Re: How to access a field value in Access VB
- Next by Date: Re: Help with Microsoft help on linking Access to Outlook
- Previous by thread: Screen shot of a form
- Next by thread: Re: delaying an event for several seconds
- Index(es):