Super,
vielen Dank.
Das ganze sieht nun so aus:
Dim parentUnid As String
Dim db As NotesDatabase
Dim Parent As NotesDocument
Dim collection As NotesDocumentCollection
Dim currentResponse As NotesDocument
Dim session As NotesSession
Dim item As NotesItem
Dim doc As NotesDocument
Dim view As NotesView
Dim uidoc As NotesUIDocument
Set session = New NotesSession
Set db = session.CurrentDatabase
Set view = db.GetView("VWDevices")
Set doc = session.DocumentContext
Set parent = db.GetDocumentByUNID ( doc.ParentDocumentUNID )
Set collection = parent.Responses
Set currentResponse = collection.GetFirstDocument
Call doc.Save(True,True)
If doc.GetItemValue( "DC_ActiveDevice" )(0) = "Yes" Then
While Not currentResponse Is Nothing
If doc.UniversalID <> currentResponse.UniversalID Then
Set item = currentResponse.ReplaceItemValue( "DC_ActiveDevice", "" )
Call currentResponse.Save( True, True )
End If
Set currentResponse = collection.GetNextDocument(currentResponse)
Wend
End If
Das setzen des Feldes mache ich im Web jetzt per @Formel Button in der Maske. Das klappt soweit auch, allerdings wird das Feld bei den anderen Dokumenten nicht bearbeitet...