When the agent runs, which document will be referenced by the "doc" variable?

Jarrod wrote an agent that begins with the following LotusScript code:
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.GetDocumentByKey( "kitten" )
When the agent runs, which document will be referenced by the "doc" variable?
A. If the database is full-text indexed, the first document in the By Category view that contains the word "kitten" in any field. If the database is not full-text indexed, the "doc" variable will be empty.
B. The first document in the By Category view that has a value of "kitten" in the first sorted column
C. The first document in the By Category view that contains the word "kitten" in any field
D. The first document in the By Category view that has any value in the column with an alias of "kitten"

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.