DoCmd Object.
The Hourglass method carries out the Hourglass action in Visual Basic. For more information on how the action and its argument work, see the Hourglass action topic.
DoCmd.Hourglass hourglasson
The Hourglass method uses the following arguments.
Argument |
Description |
hourglasson |
Use True (-1) to display the hourglass (or another icon you’ve chosen). Use False (0) to display the normal mouse pointer. |
DoCmd Object, Echo Method, Hourglass Action, SetWarnings Method.
This example uses the Hourglass method to display an hourglass (or another icon you’ve chosen) while your Visual Basic code is executing.
DoCmd.Hourglass True