ACC97: How to Use the RefreshDatabaseWindow Method (160950)
The information in this article applies to:
This article was previously published under Q160950 Moderate: Requires basic macro, coding, and interoperability skills.
SUMMARY
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
then 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 shows you 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.
REFERENCES
For more information about the RefreshDatabaseWindow method, search the
Help Index for "RefreshDatabaseWindow method."
| Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
|---|
| Keywords: | kbhowto kbProgramming kbusage KB160950 |
|---|
|