Anomoeoneis
Programmer
Hi
I have a form that takes a file name from a query and loads that image into a unbound object frame, changing images when a a different record is viewed.
This worked fine when the file was on the disk with this code
I now want to use images of the web instead, I tried setting
imgFile= " & Me.fileName
but get an error from diaImg.SourceDoc = imgFile
I am using Access97. Can anybody help.
Richard
I have a form that takes a file name from a query and loads that image into a unbound object frame, changing images when a a different record is viewed.
This worked fine when the file was on the disk with this code
Code:
Private Sub Form_Current() 'Detail_Click()
Dim imgFile
imgFile = "E:\molten\images\" & Me.fileName
diaImg.SourceDoc = imgFile
diaImg.Action = acOLECreateLink
diaImg.UpdateOptions = acOLEUpdateManual
diaImg.Action = acOLEUpdate
End Sub
imgFile= " & Me.fileName
but get an error from diaImg.SourceDoc = imgFile
I am using Access97. Can anybody help.
Richard