Hi-
I am using the following code to place images into reports and formsFunction
setImagePath()
On Error Resume Next
strImagePath = Me.txtimagename
Me.Imageframe.Picture = strImagePath
End Function
Is there a way to to not have a record show if the imagepath do not refrence an acutal file.
EX strImagepath = Bob.JPG
but Bob.jpg does not exist so I dont want the record to show.
Thanks
Andy
I am using the following code to place images into reports and formsFunction
setImagePath()
On Error Resume Next
strImagePath = Me.txtimagename
Me.Imageframe.Picture = strImagePath
End Function
Is there a way to to not have a record show if the imagepath do not refrence an acutal file.
EX strImagepath = Bob.JPG
but Bob.jpg does not exist so I dont want the record to show.
Thanks
Andy