Use Access To Search the web

  • Thread starter Thread starter Guest
  • Start date Start date
Hi Dean,

You can use something like this, in the Click event procedure of a
button on a form that also contains a textbox called txtArtist which
contains the name of the artist you want to look up:

Const DISCOGS_URL = "http://www.discogs.com/search/?" _
& "meta_type=Artist&text_content="
Dim strURL as String

strURL = LCase(Me.txtArtist.Value)
strURL = Replace(strURL, " ", "+")
strURL = DISCOGS_URL & strURL & "&action=Go"
Application.FollowHyperlink strURL
 
Back
Top