ACC: Hourglass May Not Change After Illegal Function Call (93723)
The information in this article applies to:
- Microsoft Access 1.0
- Microsoft Access 1.1
- Microsoft Access 2.0
- Microsoft Access for Windows 95 7.0
- Microsoft Visual Basic for Applications 1.0
This article was previously published under Q93723
Moderate: Requires basic macro, coding, and interoperability skills.
SYMPTOMS
You can change the mouse pointer from an arrow to an hourglass with a user-
defined function. If you encounter an illegal function or halt the code
after setting the pointer to an hourglass, the hourglass does not change
back to the arrow pointer. However, you can still open and close items by
clicking them.
RESOLUTIONIn Microsoft Access for Windows 95 version 7.0
You can type DoCmd.Hourglass False in the
Debug window to get the pointer back.
In Microsoft Access versions 1.x and 2.0
You can type DoCmd Hourglass false in the
Immediate window to get the pointer back.
STATUS
This behavior is by design. Visual Basic for applications (or Access Basic
in versions 1.x and 2.0) will never reset Echo, Warnings, or Hourglass
when run from Visual Basic or Access Basic. These are only reset when the
last script runs.
Modification Type: | Minor | Last Reviewed: | 8/15/2005 |
---|
Keywords: | kbprb kbProgramming KB93723 |
---|
|