Please help! I have a set of parts that have different pictures associated with them. I want to display them with the part record. HOWEVER, I can't get the image to change with the corresponding file stored in the part record. the code executes but the value for the .Picture property necer changes. Here is my code. Can anyone point out what I am doing wrong?
Private Sub Form_Current()
On Error Resume Next
fname = Me.ImageFile
Me![ImageFrame].Picture = fname
End Sub
The variable fname reflects the correct value, but after the assignment statement, Me![ImageFrame].Picture is still Null.
Thanks,
Janet
Private Sub Form_Current()
On Error Resume Next
fname = Me.ImageFile
Me![ImageFrame].Picture = fname
End Sub
The variable fname reflects the correct value, but after the assignment statement, Me![ImageFrame].Picture is still Null.
Thanks,
Janet