superchrisdub
New member
- Local time
- Today, 08:06
- Joined
- Mar 29, 2018
- Messages
- 9
Hi,
I have a Form with a button that causes a copy in pdf format to be attached to an email, awaiting the user to fill in the To: section and any other he chooses, using the following code:
It works the first time it is used in a session. Then , the next time I try to use it, I get the following error message:
2293: Huntington Ross Client Database can't send this email message.
Then, usually within 5 minutes, Access itself crashes, then restarts. After this, I can use the Sendobject code again ONCE, then Access crashes and restarts (always asking you to save a backup copy of the database).
I am using Windows 8.1 64-bit with Office 2016 64-bit. I have trawled the internet and none of the fixes so far have worked. I have not yet, I admit, actually, done a full factory restore as I do not want to lose data, as my current backup drive has just broken and I am waiting for payday at month end to buy another one. Also, it takes hours to perform and the moore hours to re-install all the software you had on it before.
What puzzles me is, why does it work once, and why then does it crash Access. I ask in desperation as this is occurring in a DB that is just about to go live (it was meant to be beta released on Wednesday). I only discovered the error during my own testing phase, before the beta release. I have tried almost every suggestion I have found online, inc testing for malware/viruses, etc, except re-installing Windows as that is such a drag, as I previously mentioned.
Please, can anyone help me. The behaviour is just so odd.
I have created a small db with some of our information, that is relevant to the problem, and added it in zip format
Thanks,
Chris
I have a Form with a button that causes a copy in pdf format to be attached to an email, awaiting the user to fill in the To: section and any other he chooses, using the following code:
Code:
DoCmd.SendObject acSendForm, frm.Name, acFormatPDF, "", "", "", _
"New Client Referral", "Please see the attached Client Referral", True
2293: Huntington Ross Client Database can't send this email message.
Then, usually within 5 minutes, Access itself crashes, then restarts. After this, I can use the Sendobject code again ONCE, then Access crashes and restarts (always asking you to save a backup copy of the database).
I am using Windows 8.1 64-bit with Office 2016 64-bit. I have trawled the internet and none of the fixes so far have worked. I have not yet, I admit, actually, done a full factory restore as I do not want to lose data, as my current backup drive has just broken and I am waiting for payday at month end to buy another one. Also, it takes hours to perform and the moore hours to re-install all the software you had on it before.
What puzzles me is, why does it work once, and why then does it crash Access. I ask in desperation as this is occurring in a DB that is just about to go live (it was meant to be beta released on Wednesday). I only discovered the error during my own testing phase, before the beta release. I have tried almost every suggestion I have found online, inc testing for malware/viruses, etc, except re-installing Windows as that is such a drag, as I previously mentioned.
Please, can anyone help me. The behaviour is just so odd.
I have created a small db with some of our information, that is relevant to the problem, and added it in zip format
Thanks,
Chris
Attachments
Last edited: