Question : How do I send a Report as a .pdf Document?

I use the code below to send a report as am MS Access Snapshot.  How do I send an MS Access report as an Adobe Acrobat .pdf document?
Code Snippet:
1:
2:
3:
4:
5:
6:
7:
8:
DoCmd.SendObject _
     ObjectType:=acSendReport, _
     ObjectName:=adhcReportName, _
     OutputFormat:=acFormatSNP, To:="" & Forms!xDataEntryTabbedMenu!txtEmail & "", _
                                Cc:="[email protected]", _
                                Subject:="Beauty's Haven CY 2009 Donation Report", _
                                MessageText:="See Your 2009 Beauty's Haven Donation Report, Attached.", _
                                EditMessage:=True

Answer : How do I send a Report as a .pdf Document?

I don't have A 2007 but I understand that you would just change acFormatSNP to acFormatPDF in the SendObject statement after creating a reference to the pdf extensions.

The snapshot viewer is separate from and does not require MS Access.

Try acFormatHTML instead of acFormatSNP and see how it works for your report.
Random Solutions  
 
programming4us programming4us