Com the power of knowing 1z0 141 you run the form

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 'You must create the department before adding employees to it'); Actualtests.com - The Power of Knowing 1Z0-141 You run the form again to test it, and you enter a new employee and a department ID that does not exist in the database. When you click into the Employee_Name Item, the appropriate message is displayed, but the cursor moves to Employee_Name. What must you change so that the user will not be able to navigate out of the Department_Id item when entering a department ID that is no in the database? A. If you write a handler for the exception, you will not be able to stop navigation from occurring, so you should put the following code in an On-Error trigger instead: IF ERROR_CODE = 40735 THEN MESSAGE('You must create the department before adding employees to it'); END IF; B. Add the following code at the end of the exception handler: IF DBMS_ERROR_CODE = 1403 THEN RAISE_FORM_TRIGGER_FAILURE; END IF; C. Add the following line at the end of the exception handler: RAISE_FORM_TRIGGER_FAILURE; D. If you write a handler for the exception, you will not be able to stop navigation from occurring. Instead, create a Key-Next-Item trigger on the Department_Id item with the following code: NEXT_ITEM IF NOT FORM_SUCCESS THEN MESSAGE('You must create the department before adding employees to it'); END IF; E. You cannot stop navigation from occurring when displaying a custom message. You should delete the exception handler and allow Forms to display the default message. Answer: C QUESTION 54: You are testing a form. How can you programmatically disable validation during testing? A. You cannot programmatically disable validation in a form. B. Use the SET_FORM_PROPERTY built-in to set the VALIDATION property. C. Use the SET_FORM_PROPERTY built-in to set the VALIDATION_UNIT property. D. Use the SET_FORM_PROPERTY built-in to set the DEFER_REQUIRED_ENFORCEMENT property. E. Use the CLEAR_FORM, CLEAR_BLOCK, and EXIT_FORM built-ins with the NO_VALIDATE argument. Answer: B QUESTION 55: Exhibit: Actualtests.com - The P...
View Full Document

Ask a homework question - tutors are online