Access calling up a web page from a unbound text box (1 Viewer)

turniporange23

New member
Local time
Tomorrow, 03:32
Joined
Sep 1, 2024
Messages
24
This code works but if the horses name was in a unbound text box could I substitute the horse name "Kenny" to say "tbhorseName"



loveracing.nz/RaceInfoSearch.aspx?q=Kenny&s=All&g=All&r=undefined&t=Name#horse



Thanks for any help.......Bob Vance
 
Maybe this will help:
dim url as string
url = "loveracing.nz/RaceInfoSearch.aspx?q=Kenny&s=All&g=All&r=undefined&t=Name#horse"
url = replace(url, "Kenny", Forms!myFormName!tbhorseName
Application.FollowHyperlink url

You may need to add "https://" at the front of that url.
 

Users who are viewing this thread

Back
Top Bottom