By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,492 Members | 3,174 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,492 IT Pros & Developers. It's quick & easy.

Using photo name field to link photo to form

P: n/a
I know this topic has been discussed a lot but after going through the
old posts, I'm still having trouble with the code. I have a photo name
field which refers to the location of the photo on the computer. I
guess the major part of my problem is that Im not sure how to call the
function in the event procedures. In a form I am running this code.

Function setImagePath()
Dim strimagepath As String
On Error Resume Next
strimagepath = Me.Imagename
Me.ImageFrame.Picture = strimagepath
End Function
Private Sub Form_Current()
End Sub

Private Sub Form_afterupdate()
End Sub

Any pointers would be greatly appreciated.

Nov 13 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.