HourGlass DoCmd


MicrosoftAccess Docmd.HourGlass Method Example

The DoCmd HourGlass method changes the mouse pointer to an image of an hourglass

This action method is often used when running a query or report from visual basic that takes a while to run.

DoCmd.HourGlass True
DoCmd.HourGlass False

The DoCmd Hourglass action has the following argument.

Yes/No, True/False, or -1/0


You can define which icon Windows uses (2000,XP) in the control panel, ‘busy’ mouse pointer setting.

Microsoft Office:
MS Access 2003
Access 2007
Access 2010
Access 2013


Microsoft Office VBA, MS Access 2003, 2007, 2010, 2013, 2016