darkstar257
Registered User.
- Local time
- Today, 14:19
- Joined
- Jan 6, 2011
- Messages
- 77
Is there a way to use the auto email feature in Access 03 to email the form as a PDF?
I read this here pcreview.co.uk/forums/thread-3539493.php
Seems that only Office 07 has the download to allow for Save As PDF feature
I'm trying to use this command but it doesn't recognize object type
DoCmd.SendObject acSendForm, , acFormatPDF, EmailAddress, EmailAddress2, EmailAddress3, strSubject, strEMailMsg, False, False
I also am looking into Stephen Lebans PDF code at granite.ab.ca/access/pdffiles.htm
In his example Access file, he creates the PDF based on selecting a report on the "HowToUse" form. How can I tie the PDF creation directly into a SendObject command?
I tried changing the original code from...
Dim blRet As Boolean
' Call our convert function
blRet = ConvertReportToPDF(Me.lstRptName, vbNullString, _
Me.lstRptName.Value & ".pdf", False, True, 150, "", "", 0, 0, 0)
To...
blRet = ConvertReportToPDF(Me.Forms![Complaint Form], vbNullString, _
Me.Forms![Complaint Form]!ID & ".pdf", False, True, 150, "", "", 0, 0, 0)
I read this here pcreview.co.uk/forums/thread-3539493.php
Seems that only Office 07 has the download to allow for Save As PDF feature
I'm trying to use this command but it doesn't recognize object type
DoCmd.SendObject acSendForm, , acFormatPDF, EmailAddress, EmailAddress2, EmailAddress3, strSubject, strEMailMsg, False, False
I also am looking into Stephen Lebans PDF code at granite.ab.ca/access/pdffiles.htm
In his example Access file, he creates the PDF based on selecting a report on the "HowToUse" form. How can I tie the PDF creation directly into a SendObject command?
I tried changing the original code from...
Dim blRet As Boolean
' Call our convert function
blRet = ConvertReportToPDF(Me.lstRptName, vbNullString, _
Me.lstRptName.Value & ".pdf", False, True, 150, "", "", 0, 0, 0)
To...
blRet = ConvertReportToPDF(Me.Forms![Complaint Form], vbNullString, _
Me.Forms![Complaint Form]!ID & ".pdf", False, True, 150, "", "", 0, 0, 0)
Last edited: