Exit C2040-985 Developing IBM Lotus Notes and Domino 8.5 Applications
Question 2 of 5
0% complete
Q2 Single choice

Nora is writing an agent to update certain documents. She needs to ensure that the only records processed are records in which the Model field has a value of "Compact".

Which one of the following statements will Nora include in her agent, and where will the line be placed?

  • A

    SELECT Model = "Compact";
    Last line in the agent

  • B

    @If (Model = "Compact";@Success;@Failure);
    First line in the agent

  • C

    SELECT Model = "Compact";
    First line in the agent

  • D

    @If (Model = "Compact";@Success;@Failure);
    Last line in the agent