Home  Fees/Services  Access Examples  Tutorials  Access Download  Articles  Search  Contact  Privacy  Links
Application Object Examples
Add To Favorites Example

Visual Basic Application Objects

 





Access Error
AddToFavorites
BuildCriteria
CloseCurrentDatabase
CodeDB
CompactRepair
ConvertAccessProject


Access AddToFavorites Method Example

AddToFavorites Method - the Add To Favorites method adds the name of the current database to the Favorites folder. When applied to a Control object, the AddToFavorites method adds the hyperlink address contained in a control to the Favorites folder.

The Add To Favorites method has the same effect as clicking AddToFavorites on the Favorites menu on the Web toolbar when view a page on the internet.
Here is an example of adding to favorites the hyperlink contained in a control field on a form:



Are you just starting out on your quest for a database? Need some advice or someone to bounce ideas off of? We are here and will be happy to chat with you on the phone and discuss options to your situation. Visit our contact page and give us a call.

Did you know that most template databases often do not do exactly what you need done? We can create a custom template that fits your needs exactly for a small to medium Access database at a reduced cost. See our contact page and call Joseph Dean for more info.


We add our Blue Claw Database Design url to the field called Field1 on the form.  This happens when the form loads in the Form Load event.  You could also allow the user to type in the hyperlink address or select it from a list.

Private Sub Form_Load()
    Me!Field1.HyperlinkAddress = "http://www.blueclaw-db.com/"
End Sub

Next, we add the link to our favorites list when the user clicks the Field1 hyperlink.


Private Sub Field1_Click()
    Me!Field1.Hyperlink.AddToFavorites
End Sub








A Blue Claw Database Design Article:

Repair Corrupted Access Table
 





Blue Claw Database Design Downloadable Tutorial:
Running Sum Query Method  





A Blue Claw Software Design Template:

Airline Reservations Database Template
 



Contact Information

Copyright 2000-2017 Blue Claw Database Design