Hello, when I print preview a report if the report contains pictures they display. However, if I use DoCmd.SendObject acReport, stDocName to attach the report to an email the pictures do not render on the report. The pictures are linked and not in the database. On the report I populate the images with the following code.
Why do the images appear when I print the report but not when the report is an attachment to an email?
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
DefaultFilePath = GetDefaultFilePath
If Me!txt_Picture1 > "" Then
Me!Picture1.Picture = DefaultFilePath & Me!txt_Picture1
If Me!txt_Picture2 > "" Then
Me!Picture2.Picture = DefaultFilePath & Me!txt_Picture2
If Me!txt_Picture3 > "" Then
Me!Picture3.Picture = DefaultFilePath & Me!txt_Picture3