Hi folks,
What would be the best way to submit a record from a form to a table and, at the same time, have that record emailed out via a report?
Thank you
Hi folks,
What would be the best way to submit a record from a form to a table and, at the same time, have that record emailed out via a report?
Thank you
DoCmd.RunCommand acCmdSaveRecord
DoCmd.OpenReport "report name", , , "ID=" & Me!ID
DoCmd.SendObject acSendReport, "report name", , acFormatPDF, "email address here", , , , "subject text here", "message text here"
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.