ok, still don't know what you want, but here this is some code for handling the image control....
Just add an image control, and in the OnCurrent" event of the FORM place this...
Code:
Private Sub Form_Current()
Dim path As String
If Me.Filename <> "" Then
path = "C:\Documents and Settings\User\My Documents\Images\"
Me.Image1.Picture = path & Me.Filename
End If
End Sub
*** the Me.Filename is the name of a text box that holds the filename. As you change records if you have the field filled in with a valid filename the image will appear.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.