Sub Initialize Dim wert As String Dim s As New NotesSession Dim db As NotesDatabase Dim tmpdoc As NotesDocument Dim doc As NotesDocument Dim strTextArray(0) As String Dim v As NotesView Set db = s.CurrentDatabase strTextArray(0) = "1" Set v = db.GetView("German\Unread") print db.server & " " & db.filepath Set doc = v.getfirstdocument() While Not (doc Is Nothing) Call doc.ReplaceItemValue("Doc_Freigabe", strTextArray) Call doc.Save(True,True) Set doc = v.GetNextDocument(doc) Wend End Sub