ACC97: Debug Window Is Not Displayed After Using Echo Method (161758)
The information in this article applies to:
This article was previously published under Q161758 Moderate: Requires basic macro, coding, and interoperability skills.
SYMPTOMS
When you use the Echo method of the Application object to turn off screen
repainting in your application, the Debug window is not displayed properly
when you encounter an error in your code.
CAUSE
Screen repainting is turned off and the "Debug Window On Top" check box is
not selected.
RESOLUTION
Make sure the "Debug Window On Top" check box is selected as the default.
Or, create a macro that turns on repainting and assign the macro to a
custom key command or custom menu command. You can then use the key
combination or menu command to turn repainting on if it has been turned off
in Visual Basic. To create a key assignment for a macro, follow these
steps:
- In the Database window, click the Macros tab, and then click New to open a new macro.
- Create the following new macro and save it as Autokeys:
Macro Name Action
------------------
^E Echo
^E Actions
-------------------------------
Echo On: Yes
Status Bar Text: Echo turned on
The new macro assignment is in effect as soon as you save the macro and
will be available each time that you open the database.
REFERENCES
For more information about the Echo method, search the Help Index for "Echo
method," or ask the Microsoft Access 97 Office Assistant.
| Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
|---|
| Keywords: | kbprb kbProgramming kbui KB161758 |
|---|
|