P
pjscott
I’m trying to send a report through e-mail using the following code.
DoCmd.SendObject acSendReport, "rptWorkOrderData", acFormatRTF,
"(e-mail address removed)", "", "", "New Work Order", "", False, ""
When I click the button associated with the code I get the following error.
Run-time error ‘207’:
Invalid column name ‘EmailName’
Can anyone tell me what’s wrong with the code?
Thanks,
Paul
DoCmd.SendObject acSendReport, "rptWorkOrderData", acFormatRTF,
"(e-mail address removed)", "", "", "New Work Order", "", False, ""
When I click the button associated with the code I get the following error.
Run-time error ‘207’:
Invalid column name ‘EmailName’
Can anyone tell me what’s wrong with the code?
Thanks,
Paul