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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top