Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Send Multiple Objects using the SENDOBJECT Method

Status
Not open for further replies.

Mando13

Programmer
Feb 4, 2005
9
US
I created a SendObject Method which works wonderfully. It creates an email with a report for every manager with only their data.
However I now need to include another report within the same email.
Does anyone know how I can accomplish this?



DoCmd.SendObject acSendReport, "MONTHLY_REPORT", "Snapshot Format(*.snp)", rs("email"), , , "Monthly Report", "Attached is your Monthly Report", False
 
How are ya Mando13 . . . . .

As far as I know, [blue]you can only send one object per SendObject.[/blue]

If your using Outlook, you can use [blue]DoCmd.OutputTo[/blue] to convert the objects to files, then execute the code at the following link: How to use Automation to send a Microsoft Outlook message

Calvin.gif
See Ya! . . . . . .
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top