Don G Walters 21.Sep.09 11:19 AM a Web browser Domino Designer 6.5.5 FP2 All Platforms
I have a document that is created when a user is terminated from employement, I am trying to use the doc.send function to send the document to our support staff however it fails with Object variable not set. I have a SendTo field created and populated. The user should be able to simply click the Send Notice button and have the email fired off. Below is the code I have:
Sub Click(Source As Button)
Dim Session As New NotesSession
Dim db As NotesDataBase
Dim doc As NotesDocument
Call doc.Send(False )
I have looked through the Help file and this forum but I still seem to be missing something.