I have a button that send a report in email. The code behind the button is
DoCmd.SendObject acSendReport, "", acFormatPDF, _
"email", "ccemail", , _
"Subject", , True
I want the subject to take the the primary key of the opened record. How to change the coding so that it takes it automatically every time.
Thanks
DoCmd.SendObject acSendReport, "", acFormatPDF, _
"email", "ccemail", , _
"Subject", , True
I want the subject to take the the primary key of the opened record. How to change the coding so that it takes it automatically every time.
Thanks