I have the following hyperlink string:
--------------------------------------
IF+I+COULD+HEAR
&selQuickSearch=SongTitle
--------------------------------------
I want the user to be able to type a Partial song title in my txtSong box on my Form, and have the onclick event run this code:
--------------------------------------
Dim strPrefix As String, strSuffix As String, strSong As String
strPrefix = "strSong = Nz(Me!txtSong, " ")
strSuffix = "&selQuickSearch=SongTitle"
Application.FollowHyperlink strPrefix & strSong & strSuffix, , True
End Sub
--------------------------------------
My problem is the strSong part, For example, if user types "If I Could Hear" in my txtSong box, the code must convert that to IF+I+COULD+HEAR in order for it to be accepted in my hyperlink.
Thanks in advance for your help!
jlig
--------------------------------------
IF+I+COULD+HEAR
&selQuickSearch=SongTitle
--------------------------------------
I want the user to be able to type a Partial song title in my txtSong box on my Form, and have the onclick event run this code:
--------------------------------------
Dim strPrefix As String, strSuffix As String, strSong As String
strPrefix = "strSong = Nz(Me!txtSong, " ")
strSuffix = "&selQuickSearch=SongTitle"
Application.FollowHyperlink strPrefix & strSong & strSuffix, , True
End Sub
--------------------------------------
My problem is the strSong part, For example, if user types "If I Could Hear" in my txtSong box, the code must convert that to IF+I+COULD+HEAR in order for it to be accepted in my hyperlink.
Thanks in advance for your help!
jlig