What does she need to add on the ** MISSING CODE ** line to make the code work properly?

Therese wants to write some LotusScript code that steps through every document in a view and displays the "Title" field. She currently has the following code written:
Dim session As New NotesSession Dim db As NotesDatabase Dim view As NotesView Dim doc As NotesDocument Set db = session.CurrentDatabase Set view = db.GetView( "By Category") Set doc = view.GetFirstDocument Do Until (doc Is Nothing) Print doc.Title(0) ‘** MISSING CODE ** Loop
What does she need to add on the ** MISSING CODE ** line to make the code work properly?
A. Set doc = view.GetNextDocument()
B. Set doc = view.GetNextDocument(doc)
C. Nothing. The code will work properly as-is.
D. Call view.GetNextDocument()

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.