Vom Prinzip her ist es dasselbe wie eine Mail erstellen nur das die DB anders heissen muss und die form:
Sub Initialize
Dim ws As New NotesUIWorkspace
Dim session As New NotesSession
Dim db As NotesDatabase
Dim currentdb As NotesDatabase
Dim collection As NotesDocumentCollection
Dim coldoc As NotesDocument
Dim doc As NotesDocument
'Dim uidoc As NotesUIDocument
'Dim eigener As String
'Dim server As String
'Set uidoc = ws.CurrentDocument
Set currentdb = session.CurrentDatabase
Set collection = currentdb.UnprocessedDocuments
Set coldoc = collection.GetFirstDocument
eigener = session.GetEnvironmentString ("MailFile", True)
server = session.GetEnvironmentString ("MailServer", True)
Set db = New Notesdatabase (server, eigener)
Set doc = db.createDocument
doc.Form = "Memo"
doc.Subject = "Feedback"
doc.SendTo = coldoc.Mailadresse 'Feldinhalt aus markiertem Dokument
Call ws.EditDocument (True, doc)
End Sub
Silke