Valerie is building an agent to allow a user to mark incoming Movie Rental documents as
processed, and to mark the documents as being read by the user. Complete the missing line of
code in the agent below:
Dim session As New NotesSession
Dim dbThis As NotesDatabase
Dim dcThis As NotesDocumentCollection
Dim docThis As NotesDocument
Set dbThis = session.CurrentDatabase
Set dcThis = dbThis.UnprocessedDocuments
Set docThis = dcThis.GetFirstDocument
Do While Not (docThis Is Nothing)
docThis.RentalProcessed = ues
Call docThis.Save(True, False)
Set docThis = dcThis.GetNextDocument(docThis)
Loop
Answer(s)
- Call dcThis.MarkAllRead
- Call dbThis.MarkAllRead
- Set dcThis = dbThis.MarkAllRead
- Set dbThis = dcThis.MarkAllRead
Correct Answer
Call dcThis.MarkAllRead