Runtime Error with DoCmd.SendObject in Access 2007, works fine in 2003.
Hi Guys. First time poster. Long time access user.
I recently made an addition to a database i designed.
It is a form, that uses the DoCmd.SendObject command, to send an email with the forms contents.
Now, i designed it in access 2003, and tested in 2003 and it works flawlessly. To save buying licenses for multiple computers, we use the 2007 runtime.
However, when it tries to send it... runtime error, the program must now close.
Are there any work arounds?
Cheers
I appreciate any help.
Hi Guys. First time poster. Long time access user.
I recently made an addition to a database i designed.
It is a form, that uses the DoCmd.SendObject command, to send an email with the forms contents.
Code:
DoCmd.SendObject _
acSendForm, _
"hireRequest", _
acFormatTXT, _
"example@example.com", _
, _
, _
"Request Form", _
"[Message]", _
False
However, when it tries to send it... runtime error, the program must now close.
Are there any work arounds?
Cheers
I appreciate any help.
Last edited: