Danielle is updating the "companyName" field on all documents in a view. The field may include varying text, but the field always includes the text "Blue Corporation". For example, one of the documents has "Blue Corporation, a wholly-owned subsidiary of GigantaCorp" as the contents of the companyName field.
What formula can Danielle include in her agent to change the "Blue Corporation" text in each companyName field to now be "Green Enterprises".
A. FIELD companyName := @Set(@Middle(companyName; "Blue Corporation"); "Green Enterprises")
B. FIELD companyName := @SetString(companyName; "Blue Corporation"; "Green Enterprises")
C. FIELD companyName := @Replace(companyName; "Blue Corporation"; "Green Enterprises")
D. FIELD companyName := @ReplaceSubstring(companyName; "Blue Corporation"; "Green Enterprises");
Erin has created a categorized view in her Human Resources database that supports unread marks. When users access the view and try to expand some categories, no documents appear even though the users see unread marks beside the category.
Which one of the following could be the problem?
A. The documents include Reader names fields.
B. The database needs to be replicated.
C. The missing documents in the category have been soft deleted from the database.
D. The view has an old index and must be reindexed.
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()
Jim is designing a new application that will be deployed to multiple sites using database replicas.
Which one of the following will he be able to replicate?
A. Database launch properties
B. Database file names
C. View indexes
D. Full Text indexes
Mahesh must ensure that only users with the DbAdmin role can edit the Price field on the Product form. The other fields on the form are editable by all users.
How can Mahesh restrict who can edit the Price field?
A. From the Security tab of the Field Properties, select the [DbAdmin] role in the Edit Enabled option.
B. Place the Price field in a computed subform.
C. Add an Input Enabled formula to the Price field. Use the formula: @IsMember["DbAdmin]"; @UserRoles)
D. Add a computed Authors field to the Product form. For the field value, specify @If(@ThisName="Price"; "[DbAdmin]"; "")
Roger wants a JavaScript function to execute in the onLoad event for a form. What must he select to have it run for both Web and Lotus Notes clients?
A. Select the form property "Render JavaScript in Notes and Web."
B. Select "Available Everywhere" in the onLoad event.
C. Paste the code into the Lotus Notes onLoad event and the Web onLoad event.
D. Select "Common JavaScript" in the onLoad event.
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"
What function does the Formula type field perform?
A. It allows documents of interest to be served via subscriptions in the Headlines database.
B. It allows multiple values in a field to be validated against a defined @Formula statement.
C. It allows documents to precompute specific values based on user input.
D. It allows @Formula statements to be entered in a document without executing.
Sam wants to display a column only if the current user is associated with the Manager role. Otherwise, the column should be hidden.
Which one of the following will allow him to do this?
A. Use @IsNotMember("[Manager]"; @UserRoles) in the hide-when view column formula.
B. Use @IsNotMember("[Manager]"; @UserRoles) in the hide-when field formula.
C. Use @IsMember("[Manager]"; @UserRoles) in the hide-when view column formula.
D. Use @IsMember("[Manager]"; @UserRoles) in the hide-when field formula.
Jamie needs to add a RestrictAccess field on a form in the Purchasing application. Only users with the [Admin] role should be able to see this field.
How should she write the hide/when formula to hide this field?
A. @Elements("[Admin]";@UserRoles)
B. @IsNotMember("[Admin]";@UserRoles)
C. @IsContained("[Admin];@UserRoles)
D. @Show("[Admin]";@UserRoles)
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only IBM exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your C2040-985 exam preparations and IBM certification application, do not hesitate to visit our Vcedump.com to find your solutions here.