Picture OLEobject

J

Jason

How do I remove the picture. On a normall image I can use fieldname.image =
"" but with the following code the action generates an error. How do I
remove the picture without generating an error?

!StockPhoto_OLETypeAllowed = acOLELinked
!StockPhoto.SourceDoc = ImagePath & ""
!StockPhoto.Action = acOLECreateLink

(If i use !StockPhoto.SourceDoc = ImagePath I get an error due to
null)

Thanks,
J.
 
Top