Well i wanted to try and give an update.
I think i figured out how to send Tasks when the record is created. Yea me. Next question though
How can i add more the one argument to the line .
Excuse the code is being borrowed from MS while i learn
.
If you see the .Subject for Outlook tasks, i want to see if its possible to have more then one Field used?
Private Sub FinTrblCall_Click()
Dim OutlookApp As Outlook.Application
Dim OutlookTask As Outlook.TaskItem
On Error GoTo Err_FinTrblCall_Click
DoCmd.GoToRecord , , acNewRec
Set OutlookApp = CreateObject("Outlook.Application")
Set OutlookTask = OutlookApp.CreateItem(olTaskItem)
With OutlookTask
.Subject = Problem <----- I want this Line to Include Building/Rm/Problem
.Body = "This is the body of my task."
.ReminderSet = True
.ReminderTime = DateAdd("n", 2, Now) 'Remind 2 minutes from now.
.DueDate = DateAdd("n", 5, Now) 'Due 5 minutes from now.
.ReminderPlaySound = True
.ReminderSoundFile = "C:\Windows\Media\Ding.wav" 'Modify path.
.Save
End With
Exit_FinTrblCall_Click:
Exit Sub
Err_FinTrblCall_Click:
MsgBox Err.Description
Resume Exit_FinTrblCall_Click
End Sub