email PDF from currently open form
Posted on 2014-04-22
I need to output the currently open Access form to a pdf and attach it to an email.
The code below will create a pdf from a named report and attach it to an email:
DoCmd.SendObject acSendReport, [name of report], acFormatPDF, "firstname.lastname@example.org",[cc email(s)],[bcc email(s)], [Message Subject], [MessageBody], True
Is it possible to print the currently open access form to a pdf attachment in an email?
Thank you in advance for your help.