Which of the following fragments of LotusScript code will do that?

Hermes wants to program a button to allow a user to modify the Status field to a value of "Approved" on the document that they are currently editing in the Lotus Notes client.
Which of the following fragments of LotusScript code will do that?
A. Dim workspace As New NotesUIWorkspace Dim uidoc As NotesUIDocument Set uidoc = workspace.CurrentDocument Call uidoc.FieldSetText("Status", "Approved")
B. Dim workspace As New NotesUIWorkspace Dim uidoc As NotesUIDocument Set uidoc = workspace.CurrentDocument uidoc.Statuc = "Approved"
C. Dim workspace As New NotesUIWorkspace Dim field As NotesUIField Set field = workspace.GetField("Status") Call field.SetText( "Approved" )
D. Dim workspace As New NotesUIWorkspace Dim doc As NotesDocument Set doc = workspace.CurrentDocument doc.Status = "Approved"

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.