email a report with images embedded (1 Viewer)

BarryMK

4 strings are enough
Local time
Today, 20:31
Joined
Oct 15, 2002
Messages
1,350
I have a report which has a different picture for each record. Using 4 different types of command button syntax that I found here I've been able to send the report successfully as an email attachment but the images are blank.

I presume this is because the jpgs are stored in a file folder and linked to the database.The image holder in the report is set to embedded but this makes no difference.

Is there a way around this problem?
 
What format is the attachment? Are you using a Snapshot file?
 
What format is the attachment? Are you using a Snapshot file?
Hi Boyd

The attachment is rtf. I'm not familiar with snapshots and the recipient of this email is computer illiterate so I need to make it as easy as possible to send him the information.

Barry
 
Thanks for the pointer Boyd. I looked up snapshots here and using the code below it works a treat. Cheers.

Code:
Private Sub cmdEmail_Click()
DoCmd.SendObject acReport, "rptDS", "Snapshot Format", "Your email recipient", , , "EMAIL SUBJECT", , False

End Sub
 
You may find that your email recipient can not open a snap shot report, however there is a free viewer available for download here
 
you can easily do a pdf also - good pdf generator around (is it courtesy steven lebans?)
 
We're on 97 and 2003 here and the recipient's kit is an unknown quantity at the moment! The snapshot option works fine and is simple so I think I'll stick with that subject to the recipient being able to install the viewer and to ms PITA security dialog hassles.

Thanks for all your suggestions. As Arnie put it -"I'll be back!"
 
you can easily do a pdf also - good pdf generator around (is it courtesy steven lebans?)

Yes

http://www.lebans.com/WhatsNew.htm

PDFCreator is good but is not self contained and you can't do anything with it. With Leban's you can do a whole lot with it because it is a DB. You simply use his modules, but I stopped the part that opens the PDF converted Report, don't bother with his form/activate system and then add your "bookends"
 

Users who are viewing this thread

Back
Top Bottom