1Z0-151 Web TestEngine demo

Exit VCEDump 1Z0-151 Oracle Fusion Middleware 11g: Build Applications with Oracle Forms
Question 6 of 14
0% complete
Q6 Multiple choice

View the Exhibit.

Question 6 diagram

The Summit menu is attached to the Orders form. The Toggle Autoquery menu item is a check box that toggles whether a query is automatically performed when the Orders form is first invoked. If the check box is deselected, users must manually query.

In addition to using the menu, users want to be able to toggle the autoquery preference directly from the form. You add a button named Toggle Autoquery with the following.
When-Button-Pressed trigger:

DECLARE
mi_id MENUITEMS;
BEGIN
mi_id ;=FIND_ITEM ('Preferences.AutoQuery')
/* Determine the current checked static of the AutoCommit menu checkbox item And toggle the checked state*/
IF GET_ITEM_PROPERTY (mi_id, CHECKED) = 'TRUE' THEN
SET_ITEM_PROPERTY (mi_id, CHECKED, PROPERTY_FALSE);
ELSE
SET_ITEM_PROPERTY (mi_id, CHECKED, PROPERTY_TRUE);
END IF;
END;
However, the trigger does not compile.

What three changes must you make so that the trigger compiles successfully?

Select all that apply.

Sign in to mark questions

Sign in to save marked questions and return to this demo.

Sign in