Here's one way:
if Dir(Me![imagepath]) <> "" then
Me![imageframe].Picture = Me![imagepath]
else
msgbox "Image File does not exist"
End If
Note that this technique does not protect against referencing a drive which does'nt exist; otherwise its OK. You'd want to add some error handling to trap this, or check the prefix of the imagepath to see if a drive is referenced. Perhaps a better method exists to test for the drive.
Anyway, hope this does the trick,
Cheers,
Steve Lewy
Solutions Developer
steve@lewycomputing.com.au