2nd posting as the other was difficult to follow.
I have a form called dlgSendIT which has the following code in the QuerySave event. I need to send an e-mail with the field contents of this form using either this form or a Memo form.
Please help! Nothing is working.
Sub Querysave(Source As Notesuidocument, Continue As Variant)
Dim session As New NotesSession
Dim db As NotesDatabase
Dim doc As NotesDocument
Set db = session.CurrentDatabase
Set doc = New NotesDocument( db )
doc.Form = “dlgSendIT”
doc.SendTo = doc.GetItemValue(“SendTo_1”)
Call doc.Send( False )
End Sub