Ithe OnFormat of your details sections I used:
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
If IsNull([ImagePath]) Then
Me![ImageFrame].Properties("Picture"
= "./NotAvailable.jpg"
Else
Me![ImageFrame].Properties("Picture"
= _
Me![ImagePath]
End If
End Sub
This works great if the ImagePath is null or a valid file. Is there a simple solution to make it display the not availabe image if the file is not valid.(If the image file doesn't exist anymore. --If it was moved or deleted.)
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
If IsNull([ImagePath]) Then
Me![ImageFrame].Properties("Picture"
Else
Me![ImageFrame].Properties("Picture"
Me![ImagePath]
End If
End Sub
This works great if the ImagePath is null or a valid file. Is there a simple solution to make it display the not availabe image if the file is not valid.(If the image file doesn't exist anymore. --If it was moved or deleted.)