image


LOT-803 Dumps LOT-803 Braindumps

LOT-803 Real Questions LOT-803 Practice Test LOT-803 Actual Questions


IBM


LOT-803


Using LotusScript in IBM Lotus Domino 8 Applications


https://killexams.com/pass4sure/exam-detail/LOT-803


  1. GrantAccess on the NotesDatabase Object

  2. QueryAccess and GrantAccess on the NotesDatabase Object


Answer: D


QUESTION: 84

Ryoko supports the SalesOrder application, which has the "Allow document locking" option enabled. She has noticed that periodic events result in some documents remaining locked after the users have logged off. Ryoko would like to automatically unlock these documents each night. How should she proceed?


  1. Create a view of locked documents using a selection formula of: SELECT@IsAvailable($Writers )

    Write an agent to run nightly, and call NotesView.AllEntries.UnLock()

  2. Create a view of locked documents using a selection formula of: SELECT@IsAvailable( $WritersDate )

    Write an agent to run nightly, and call NotesView.AllEntries.StampAll( "~$Lock", "" )

  3. Create a view of locked documents using a selection formula of: SELECT@IsAvailable($WritersDate )

    Write an agent to run nightly, to iterate through the view and set NotesDocument.Lock = False on each document.

  4. Create a view of locked documents using a selection formula of: SELECT@IsAvailable($Writers )

Write an agent to run nightly, to iterate through the view and call the NotesDocument.UnLock method on each document.


Answer: D


QUESTION: 85

Glenda is writing an agent that processes all Suggestion documents with the Status field equal to "Pending". These documents are in a view that has a selection formula of Status = "Pending". As each document is processed in the agent, the Status field is updated to "Processed".What NotesView property can Glenda use to prevent the view from refreshing until she has processed all the documents?


  1. Refresh

  2. AutoUpdate

  3. AutoRefresh

  4. StaticUpdate


Answer: B


QUESTION: 86

Marisha has the following function in her LotusScript agent:

Function FormatInvoice(invCompany As String, invIdentifier As String) As String FormatInvoice = UCase(invCompany) + LCase(invIdentifier)

End Function

What is the correct format she should use in her agent to call this function?


  1. FormatInvoice(tmpCompany, tmpIdentifier)

  2. newInvoice = FormatInvoice(tmpCompany, tmpIdentifier)

  3. FormatInvoice(tmpCompany, tmpIdentifier) = newInvoice

  4. newInvoice = FormatInvoice(tmpCompany As String, tmpIdentifier As String)


Answer: B


QUESTION: 87

Klaus is examining a sample of the documents in a database. He wants to stop processing after 1000 documents have been processed. Here is the code Klaus has written so far:

Dim s As New NotesSession

Dim dc As NotesDocumentCollection Dim doc As NotesDocument

Set dc = s.CurrentDatabase.AllDocuments Set doc = dc.GetFirstDocument

Dim i As Integer

Do Until (doc Is Nothing) i = i + 1

If i > 1000 Then ' MISSING LINE End If ' Process document Loop

What code should Klaus write to replace the MISSING LINE, to cause execution to leave the Do Loop after 1000 documents have been processed?


  1. EndLoop

  2. End Do

  3. ExitLoop

  4. Exit Do


Answer: D


QUESTION: 88

If you wanted a block of LotusScript to run AFTER a document opens but BEFORE the user has control of it, what form event could you use to put the code into?


  1. onLoad

  2. QueryLoad

  3. PostModeChange

  4. QueryRecalc


Answer: A


QUESTION: 89

Sally has a form she wants to open in Edit mode, if the status field is Open. When the status field is Closed, the form should open the document in Read mode. Which one of the following PostOpen events will accomplish this?


  1. Dimuidoc As NotesUIDocument

    Set uidoc=source if uidoc.FieldGetText("status")="Open" then uidoc.Mode=True end if

  2. Dimuidoc As NotesUIDocument Set uidoc=source

    if uidoc.FieldGetText("status")="Open" then doc.EditMode=True end if

  3. Dimuidoc As NotesUIDocument

    Set uidoc=source if uidoc.FieldSetText("status","Open") then uidoc.EditMode=True end if

  4. Dimuidoc As NotesUIDocument Set uidoc=source

if uidoc.FieldGetText("status")="Open" then uidoc.EditMode=True

end if


Answer: D


QUESTION: 90

If you call the Print method of NotesUIDocument with no parameters, what will happen?


  1. The entire document will be printed to the default printer

  2. A print dialog will appear, prompting the user for print properties

  3. Only the first page of the document will print to the default printer

  4. An error will occur, because the first parameter of the Print method is required


Answer: B


image

6$03/( 48(67,216


7KHVH TXHVWLRQV DUH IRU GHPR SXUSRVH RQO\ )XOO YHUVLRQ LV XS WR GDWH DQG FRQWDLQV DFWXDO TXHVWLRQV DQG DQVZHUV


.LOOH[DPV FRP LV DQ RQOLQH SODWIRUP WKDW RIIHUV D ZLGH UDQJH RI VHUYLFHV UHODWHG WR FHUWLILFDWLRQ H[DP SUHSDUDWLRQ 7KH SODWIRUP SURYLGHV DFWXDO TXHVWLRQV H[DP GXPSV DQG SUDFWLFH WHVWV WR KHOS LQGLYLGXDOV SUHSDUH IRU YDULRXV FHUWLILFDWLRQ H[DPV ZLWK FRQILGHQFH +HUH DUH VRPH NH\ IHDWXUHV DQG VHUYLFHV RIIHUHG E\ .LOOH[DPV FRP


$FWXDO ([DP 4XHVWLRQV .LOOH[DPV FRP SURYLGHV DFWXDO H[DP TXHVWLRQV WKDW DUH H[SHULHQFHG LQ WHVW FHQWHUV 7KHVH TXHVWLRQV DUH XSGDWHG UHJXODUO\ WR HQVXUH WKH\ DUH XS WR GDWH DQG UHOHYDQW WR WKH ODWHVW H[DP V\OODEXV %\ VWXG\LQJ WKHVH DFWXDO TXHVWLRQV FDQGLGDWHV FDQ IDPLOLDUL]H WKHPVHOYHV ZLWK WKH FRQWHQW DQG IRUPDW RI WKH UHDO H[DP


([DP 'XPSV .LOOH[DPV FRP RIIHUV H[DP GXPSV LQ 3') IRUPDW 7KHVH GXPSV FRQWDLQ D FRPSUHKHQVLYH FROOHFWLRQ RI TXHVWLRQV DQG DQVZHUV WKDW FRYHU WKH H[DP WRSLFV %\ XVLQJ WKHVH GXPSV FDQGLGDWHV FDQ HQKDQFH WKHLU NQRZOHGJH DQG LPSURYH WKHLU FKDQFHV RI VXFFHVV LQ WKH FHUWLILFDWLRQ H[DP


3UDFWLFH 7HVWV .LOOH[DPV FRP SURYLGHV SUDFWLFH WHVWV WKURXJK WKHLU GHVNWRS 9&( H[DP VLPXODWRU DQG RQOLQH WHVW HQJLQH 7KHVH SUDFWLFH WHVWV VLPXODWH WKH UHDO H[DP HQYLURQPHQW DQG KHOS FDQGLGDWHV DVVHVV WKHLU UHDGLQHVV IRU WKH DFWXDO H[DP 7KH SUDFWLFH WHVWV FRYHU D ZLGH UDQJH RI TXHVWLRQV DQG HQDEOH FDQGLGDWHV WR LGHQWLI\ WKHLU VWUHQJWKV DQG ZHDNQHVVHV


*XDUDQWHHG 6XFFHVV .LOOH[DPV FRP RIIHUV D VXFFHVV JXDUDQWHH ZLWK WKHLU H[DP GXPSV 7KH\ FODLP WKDW E\ XVLQJ WKHLU PDWHULDOV FDQGLGDWHV ZLOO SDVV WKHLU H[DPV RQ WKH ILUVW DWWHPSW RU WKH\ ZLOO UHIXQG WKH SXUFKDVH SULFH 7KLV JXDUDQWHH SURYLGHV DVVXUDQFH DQG FRQILGHQFH WR LQGLYLGXDOV SUHSDULQJ IRU FHUWLILFDWLRQ H[DPV


8SGDWHG &RQWHQW .LOOH[DPV FRP UHJXODUO\ XSGDWHV LWV TXHVWLRQ EDQN DQG H[DP GXPSV WR HQVXUH WKDW WKH\ DUH FXUUHQW DQG UHIOHFW WKH ODWHVW FKDQJHV LQ WKH H[DP V\OODEXV 7KLV KHOSV FDQGLGDWHV VWD\ XS WR GDWH ZLWK WKH H[DP FRQWHQW DQG LQFUHDVHV WKHLU FKDQFHV RI VXFFHVV


7HFKQLFDO 6XSSRUW .LOOH[DPV FRP SURYLGHV IUHH [ WHFKQLFDO VXSSRUW WR DVVLVW FDQGLGDWHV ZLWK DQ\ TXHULHV RU LVVXHV WKH\ PD\ HQFRXQWHU ZKLOH XVLQJ WKHLU VHUYLFHV 7KHLU FHUWLILHG H[SHUWV DUH DYDLODEOH WR SURYLGH JXLGDQFH DQG KHOS FDQGLGDWHV WKURXJKRXW WKHLU H[DP SUHSDUDWLRQ MRXUQH\


'PS .PSF FYBNT WJTJU IUUQT LJMMFYBNT DPN WFOEPST FYBN MJTU

.LOO \RXU H[DP DW )LUVW $WWHPSW *XDUDQWHHG