Hi,
I am trying to get Access to send an e-mail on a certain day of the week automatically. I have written the code as follows;
DoCmd.SendObject acSendReport, "Support Request Log Query", acFormatSNP, "Mike Harris; Julia Berry", , , "Pending Report", , , False
This does not send the mail but allows me to edit it before I send it and I want it to go automatically. I thought the false statement at the end determined this.
Also if I wanted this to go on a Friday for example could anyone show me the code to do this - I know you would need to use the DayDate function but I am not sure how to build this into the code.
Mike
I am trying to get Access to send an e-mail on a certain day of the week automatically. I have written the code as follows;
DoCmd.SendObject acSendReport, "Support Request Log Query", acFormatSNP, "Mike Harris; Julia Berry", , , "Pending Report", , , False
This does not send the mail but allows me to edit it before I send it and I want it to go automatically. I thought the false statement at the end determined this.
Also if I wanted this to go on a Friday for example could anyone show me the code to do this - I know you would need to use the DayDate function but I am not sure how to build this into the code.
Mike