Forum Discussion
Jon_Morgan1958
Jul 16, 2021Copper Contributor
Image field with hyperlink
Newbie Question.
Simple Table
"Supplier"
"SupplierLogo"
"SupplierURL"
On a form when the logo field is selected to follow the URL.
How please? I seem to be going round in circles
Many thanks
Jon
- You're welcome. Perhaps you could mark my last response as the solution / best answer
- Use Application.FollowHyperlink "SupplierURL" where SupplierURL gives the full URL path
e.g. Application.FollowHyperlink "http://www.mendipdatasystems.co.uk"- Jon_Morgan1958Copper ContributorThank you. Something like:
Private Sub Logo_Click()
Application.FollowHyperlink "URL"
End Sub? - Jon_Morgan1958Copper ContributorSomething like above?
- Yes
Yes. That's what I thought you meant!
To save time, I've created a simple example database with 4 logos to show one method of doing this.
For convenience I've added the 4 logos to the image library.
However, normally you should just use the path to an external image file so as to avoid 'bloating' the database
- Jon_Morgan1958Copper ContributorThank you so much! I'm going to have a go at that now.
- Jon_Morgan1958Copper ContributorFixed, sorted, thank you. All for the want of "Me."