L
Lance F via AccessMonster.com
I’m using the automatic send email by using false as the 9th sendObject.
How do I capture the ‘yes” or “no” that is clicked on the popup. Here is my
code:
DoCmd.SendObject acSendNoObject, , , frmActive.AssignedTo.Column(1), , , , ,
False
If MsgBox(strMessage, vbNo = 2) Then
MsgBox "You Chose Not To Send Email. This Issue Will Not Be Save."
Else
DoCmd.RunCommand acCmdSaveRecord
DoCmd.GoToRecord , , acNewRec
End If
Thanks,
Lance
How do I capture the ‘yes” or “no” that is clicked on the popup. Here is my
code:
DoCmd.SendObject acSendNoObject, , , frmActive.AssignedTo.Column(1), , , , ,
False
If MsgBox(strMessage, vbNo = 2) Then
MsgBox "You Chose Not To Send Email. This Issue Will Not Be Save."
Else
DoCmd.RunCommand acCmdSaveRecord
DoCmd.GoToRecord , , acNewRec
End If
Thanks,
Lance