Description
You can use the Hourglass action to change the mouse pointer to an image of an hourglass (or another icon you've chosen) while a macro is running. This action can provide a visual indication that the macro is running. This is especially useful when a macro action or the macro itself takes a long time to run.
Setting
The Hourglass action has the following argument.
Action argument
Description
Hourglass On
Click Yes (display the icon) or No (display the normal mouse pointer) in the Hourglass On box in the Action Arguments section of the Macro window. The default is Yes.
Remarks
You often use this action if you've turned echo off by using the Echo action. When echo is off, Microsoft Access suspends screen updates until the macro is finished.
Microsoft Access automatically resets the Hourglass On argument to No when the macro finishes running.
Notes
In Microsoft Windows 95, the icon shown by this action is the icon you set for Busy in the Pointers tab of the Mouse Properties dialog box of Windows Control Panel (the default is an animated hourglass icon).
In Windows NT, this is the icon you set for Wait in the Cursors dialog box of Windows Control Panel (the default is also an hourglass icon).
In either case, you can choose another icon if you want.
To run the Hourglass action in Visual Basic, use the Hourglass method of the DoCmd object.
See Also
Echo action, Hourglass method.