Linking a hyperlink (texbox) to a Photo

JohnnyBQue

Registered User.
Local time
Today, 01:17
Joined
Oct 31, 2014
Messages
25
I may be going about this all wrong but I have a text box that is Hyperlink to a directory that opens fine and gives me access to files that I need. What I want is to place a photo of a particular button I've found (in the form) and on the click event have the hyperlink in the text box activate and open the directory.

1. I can't change the shape of the text box or place a picture within it...
2. I can set the pictures control source as the hyperlink text box but that serves no purpose...
3. I lazy manned it buy making the text box transparent and all the text white then overlay-ed the picture ...it worked but I would like the appropriate way to do this.....being at such a critical stage of my access development...... :p
 
use a image control instead of a textbox, or use a button, you can add the picture there
 
I'll give that a try...
 
Okay I figured it out....went into the OnClick event and used Application.FollowHyperlink [controlsource] and I now open the file associated to the particular employee. I had to change the data from Hyperlink in the records table to just text but keep the file path. I know have to figure how not to get a error back if some on clicks the button and there is no data...I get the null error....thanks guys for all your help....
 

Users who are viewing this thread

Back
Top Bottom