It gave error 438: The object does not accept the property or method.Maybe you could test whether Me.Photo.Picture has a length or not. for example:
Code:If Len(Me.Photo.Picture)=0 Then MsbBox "No Photo Is Available" Else Delete the photo here End If