Hi, Please excuse me for asking a pretty dumb question. I'm a complete novice and need a little help to set up an email message when I click a tab in access 2016. My problem is that I am having difficulty writing in my On_Click VBA code.
This is my current code,
DoCmd.SendObject , "", "", DLookup("[E-mail Address]", "Contacts", "[ID]=" & Nz([Assigned To], 0)), "", "", "Delivery", IIf(Form.Description.TextFormat = 1, PlainText("Thank you " & Title & " for your Purchase Order # " & Description & "It has been scheduled for delivery on " & [Due Date] & ", Should this time be unsuitable please contact us by return email "someone@someone.com" or phone (08) 1234 1243 to reschedule for a more convenient time. "), Description & " Due: " & [Due Date]), True, ""
When it opens the email to be sent it looks like the Doc3.pdf attachment,
However I would like it to look like the Doc4.pdf attachment (If possible)
Are you able to help to write the code?
Cheers,
GregView attachment Doc3.pdf
This is my current code,
DoCmd.SendObject , "", "", DLookup("[E-mail Address]", "Contacts", "[ID]=" & Nz([Assigned To], 0)), "", "", "Delivery", IIf(Form.Description.TextFormat = 1, PlainText("Thank you " & Title & " for your Purchase Order # " & Description & "It has been scheduled for delivery on " & [Due Date] & ", Should this time be unsuitable please contact us by return email "someone@someone.com" or phone (08) 1234 1243 to reschedule for a more convenient time. "), Description & " Due: " & [Due Date]), True, ""
When it opens the email to be sent it looks like the Doc3.pdf attachment,
However I would like it to look like the Doc4.pdf attachment (If possible)
Are you able to help to write the code?
Cheers,
GregView attachment Doc3.pdf