Hello to all,
I have a hyperlink to open a picture on an image control. I finally got it to work after numerous hours... But the problem is that once the hyperlink runs, it opens another form that contains part of the hyperlink.
location = filepath
Photo = file name
Picture = Image control
I don't understand why it's opening frmlocation in the background. I hope I explained this clearly enough.
Hope someone can help!!!
Thanks,
BakerUSMC
I have a hyperlink to open a picture on an image control. I finally got it to work after numerous hours... But the problem is that once the hyperlink runs, it opens another form that contains part of the hyperlink.
location = filepath
Photo = file name
Picture = Image control
Code:
Private Sub Form_Current()
On Error Resume Next
If Not (IsNull(Me!Photo)) Then
Me![Image].Properties("Picture") = (Form_frmlocation!Location & Me!Photo)
Else
Me![Image].Properties("Picture") = ""
End If
End Sub
I don't understand why it's opening frmlocation in the background. I hope I explained this clearly enough.
Hope someone can help!!!
Thanks,
BakerUSMC