nerdexam
Oracle

1Z0-141 · Question #10

During testing, you received comments that the default functionality of the [Commit] key can cause an error message to be displayed if there are no changes to save when it was activated. You decide…

The correct answer is D. The When-Button-Pressed trigger with the code. See the full explanation below for the reasoning.

Question

During testing, you received comments that the default functionality of the [Commit] key can cause an error message to be displayed if there are no changes to save when it was activated. You decide to provide a button for users to validate the form and issue a commit if necessary. To implement this, you write a form-level procedure called VALIDATE_AND_COMMIT. The same functionality must be provided when the user chooses File > Save from the menu or presses the [Commit] key. Which should you use?

Options

  • AThe When-Button-Pressed trigger with the code
  • BThe When-Button-Pressed trigger with the code
  • CThe When-Button-Pressed trigger with the code
  • DThe When-Button-Pressed trigger with the code
  • EThe When-Button-Pressed trigger with the code

How the community answered

(28 responses)
  • B
    4% (1)
  • C
    11% (3)
  • D
    82% (23)
  • E
    4% (1)

Community Discussion

No community discussion yet for this question.

Full 1Z0-141 Practice