Emailing a report with outlook (1 Viewer)

grassbladeacc

New member
Local time
Today, 13:47
Joined
Oct 15, 2012
Messages
2
Hi everybody,
I am using access 2010 outlook 2010. Running a small business. I would like to email a report such as an invoice to a customer via ms outlook. The invoice contains the customers email address. What I do not want is to retype the email address in the outlook message window. The email address should automatically appear in the "To" field of outlook new message window. Can it be helped?
Regards
:banghead:
 

mahenkj2

Registered User.
Local time
Today, 09:17
Joined
Apr 20, 2012
Messages
459
Try docmd.sendObject

DoCmd.SendObject acSendReport, "report1", , [From]

If you call this report from a form, then do you have customer name at form. Then you can reference customer name in place of [From]

When you type docmd.sendobject, intellisense shall start helping you.

best regards.

Edit: Sorry, customer email at [From].
 
Last edited:

Users who are viewing this thread

Top Bottom