RefreshDatabaseWindow Method

RefreshDatabaseWindow Method

See Also         Example         Applies To

The RefreshDatabaseWindow method updates the Database window after a database object has been created, deleted, or renamed.

Syntax

[application.]RefreshDatabaseWindow

The RefreshDatabaseWindow method has the following argument.

Argument Description
application The Microsoft Access Application object.

Remarks

You can use the RefreshDatabaseWindow method to immediately reflect changes to objects in Microsoft Access in the Database window. For example, if you add a new form from Visual Basic and save it, you can use the RefreshDatabaseWindow method to display the name of the new form on the Forms tab of the Database window immediately after it has been saved.