Ok so i have to following code.
[code=vb]
Private Sub Command218_Clic k()
On Error GoTo Err_218Click
DoCmd.SendObjec t acSendNoObject, , , "Daveh@specsale s.com", , , "Request for Partition Drawing"
Me.Text219 = "Waiting on Drawing."
Exit_218:
Exit Sub
Err_218Click:
GoTo Exit_218
End Sub
[/code]
now before the "Send Object command i want a box to appear and ask if the user is sure they want to send the email. if they click yes then continue with the code, and if they say no to exit the sub command.
I am decient with If Statements but have no ideal how to incorperate it into a message box.
Thanks in Advance!
[code=vb]
Private Sub Command218_Clic k()
On Error GoTo Err_218Click
DoCmd.SendObjec t acSendNoObject, , , "Daveh@specsale s.com", , , "Request for Partition Drawing"
Me.Text219 = "Waiting on Drawing."
Exit_218:
Exit Sub
Err_218Click:
GoTo Exit_218
End Sub
[/code]
now before the "Send Object command i want a box to appear and ask if the user is sure they want to send the email. if they click yes then continue with the code, and if they say no to exit the sub command.
I am decient with If Statements but have no ideal how to incorperate it into a message box.
Thanks in Advance!
Comment