A
arnold
I have the following code:
Dim outobj As Outlook.Application
Dim outappt As Outlook.AppointmentItem
Set outobj = CreateObject("outlook.application")
Set outappt = outobj.CreateItem(olAppointmentItem)
With outappt
.Start = Me.NextContact & " " & Me.ApptTime
.Duration = 30
.Subject = "Call Back " & Forms!ApplicantsForm.FirstName & " "
& Forms!ApplicantsForm.LastName
.Save
End With
Set outobj = Nothing
DoCmd.RunCommand acCmdSaveRecord
I want to do this automatically when a check box is checked. I want
this event, which is in a subform, to occur when I navigate away from
the parent record. Is there any way to do that? I have spent 2 hours
attempting it with no success. Any help would be great!
Dim outobj As Outlook.Application
Dim outappt As Outlook.AppointmentItem
Set outobj = CreateObject("outlook.application")
Set outappt = outobj.CreateItem(olAppointmentItem)
With outappt
.Start = Me.NextContact & " " & Me.ApptTime
.Duration = 30
.Subject = "Call Back " & Forms!ApplicantsForm.FirstName & " "
& Forms!ApplicantsForm.LastName
.Save
End With
Set outobj = Nothing
DoCmd.RunCommand acCmdSaveRecord
I want to do this automatically when a check box is checked. I want
this event, which is in a subform, to occur when I navigate away from
the parent record. Is there any way to do that? I have spent 2 hours
attempting it with no success. Any help would be great!