J
Jean Van Harlingen
I am trying to set up a form that will display pictures in an image control
based on the contents of a text box control that contains the path to the
external image file. In design view I am able to access the external image
file, but when I try to change the picture property of the image control via
VBA I get an error message which says that access can't open the external
file.
This is the code I am using:
Dim Pf As String
If Not IsNull(Me.PictureFile) Then
Pf = (Me.PictureFile)
Me!ActualImage.Picture = Pf
Else
Me!ActualImage.Picture = ""
End If
Any ideas???
based on the contents of a text box control that contains the path to the
external image file. In design view I am able to access the external image
file, but when I try to change the picture property of the image control via
VBA I get an error message which says that access can't open the external
file.
This is the code I am using:
Dim Pf As String
If Not IsNull(Me.PictureFile) Then
Pf = (Me.PictureFile)
Me!ActualImage.Picture = Pf
Else
Me!ActualImage.Picture = ""
End If
Any ideas???