|Access Developer Reference|
The AddToFavorites method adds a hyperlink address to the Favorites folder.
expression A variable that represents an Application object.
When applied to the Application object, the AddToFavorites method adds the name of the current database to the Favorites folder. For example, if you're working in the Northwind sample database, applying the AddToFavorites method to the Application object adds the hyperlink address of the Northwind database to the Favorites folder.