Hi, wieso bekomme ich hier die Meldung "no document ist selected, please select a doc to response to"
Dim workspace As New NotesUIWorkspace
Call workspace.OpenDatabase _
("Serv1", "DEN.nsf", "Adressen","Huhn",True,False)
Dim session As New NotesSession
Dim db As NotesDatabase
Dim uidoc As NotesUIDocument
Dim doc As NotesDocument
Dim uiview As NotesUIView
Set db = session.CurrentDatabase
Set uiview = workspace.CurrentView
Set doc = db.GetDocumentByUNID("13...2F")
Call uiview.SelectDocument(doc)
'An der Stelle steht die Auswahl auch sichtbar korrekt
'bis hierher also alles in Ordnung
Set uidoc = workspace.ComposeDocument( "", "", "f_Antwort" )
Call uidoc.FieldSetText("Subject","Test ")
Call uidoc.GotoField("Body")