I am using send object to generate emails BUT it works once then not again until I close and reopen my application.
Thus in the code below only 1 email is generated - doesn't matter which of the docmd.SendObjec t lines comes first. Repeat the function - no emails generated. Close access, reopen - one email is generated!
?? Any suggestions ??
** code snippet **
** end code **
Thus in the code below only 1 email is generated - doesn't matter which of the docmd.SendObjec t lines comes first. Repeat the function - no emails generated. Close access, reopen - one email is generated!
?? Any suggestions ??
** code snippet **
Code:
sendTo = "DummyOne1@Blueyonder.co.uk" DoCmd.SendObject objectType, objectName, outputformat, "DummyAddressx@Blueyonder.co.uk", sendCc, sendBcc, sendSubject, sendMessage, editmessage, templateFileName DoCmd.SendObject objectType, objectName, outputformat, sendTo, sendCc, sendBcc, sendSubject, sendMessage, editmessage, templateFileName
Comment