I have a Hyper-Link txtSong field in my Access Form that allows me to :
1) Type in a song title,
2) Then when clicked, it opens up my website
3) And displays the web search results for the
txtSong entry
I want to change this to a Search Button image, placed right below the txtSong box. ?
Heres my current code :
--------------------------
Private Sub txtSong_Click()
Dim strPrefix As String, strSuffix As String, strSong As String
strPrefix = "strSong = Me!txtSong
strSuffix = "&selQuickSearch=SongTitle&Submit1=Search"
Application.FollowHyperlink strPrefix & strSong & strSuffix, , True
End Sub
--------------------------
How do I make this work by clicking on a GO button instead of the hyperlink text?
On my form I have added the GO button image below my text box, but I don't know how to make the Go button the hyperlink, so that when I click on it, it performs the same function as my old text field.
Ex: enter song title : _______________
GO
1) Type in a song title,
2) Then when clicked, it opens up my website
3) And displays the web search results for the
txtSong entry
I want to change this to a Search Button image, placed right below the txtSong box. ?
Heres my current code :
--------------------------
Private Sub txtSong_Click()
Dim strPrefix As String, strSuffix As String, strSong As String
strPrefix = "strSong = Me!txtSong
strSuffix = "&selQuickSearch=SongTitle&Submit1=Search"
Application.FollowHyperlink strPrefix & strSong & strSuffix, , True
End Sub
--------------------------
How do I make this work by clicking on a GO button instead of the hyperlink text?
On my form I have added the GO button image below my text box, but I don't know how to make the Go button the hyperlink, so that when I click on it, it performs the same function as my old text field.
Ex: enter song title : _______________
GO