ACC97: How to Use the RefreshDatabaseWindow MethodLast reviewed: August 29, 1997Article ID: Q160950 |
The information in this article applies to:
SUMMARYModerate: Requires basic macro, coding, and interoperability skills. When you create, delete, or rename an object through code while the object is visible in the Database window, the Database window does not reflect the changed object until the focus moves to a different object type and back again. For example, if you create a new table, and the Table tab is selected in the Database window, you may not see the new table until you click another tab in the Database window and then click the Table tab again. This article demonstrates how to use the RefreshDatabaseWindow method of the Application object to refresh the Database window after you change an object. This article assumes that you are familiar with Visual Basic for Applications and with creating Microsoft Access applications using the programming tools provided with Microsoft Access. For more information about Visual Basic for Applications, please refer to the "Building Applications with Microsoft Access 97" manual.
MORE INFORMATIONYou can use the RefreshDatabaseWindow method to immediately reflect changes to objects in the Database window, as the following example shows:
REFERENCESFor more information about the RefreshDatabaseWindow method, search the Help Index for "RefreshDatabaseWindow method." Keywords : kbprg kbusage PgmHowTo SynFnc Version : 97 Platform : WINDOWS Hardware : x86 Issue type : kbhowto |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |