Oracle
1Z0-141 · Question #8
A form named Orders is saved to the file system as MY_ORDERS.FMB. You are modifying the Customers form, and you want to code a When-Button-Pressed trigger to invoke the Orders form only if the…
The correct answer is E. IF ID_NULL(FIND_FORM('ORDERS')) THEN. See the full explanation below for the reasoning.
Question
A form named Orders is saved to the file system as MY_ORDERS.FMB. You are modifying the Customers form, and you want to code a When-Button-Pressed trigger to invoke the Orders form only if the Orders form is not already open. What is the correct code to place in the When-Button- Pressed trigger?
Options
- AOPEN_FORM('ORDERS',NO_ACTIVATE);
- BOPEN_FORM('MY_ORDERS',NO_ACTIVATE);
- CIF NOT FIND_FORM('ORDERS') THEN
- DIF ID_NULL(FIND_FORM('ORDERS')) THEN
- EIF ID_NULL(FIND_FORM('ORDERS')) THEN
- FIF NOT FIND_FORM('MY_ORDERS') THEN
How the community answered
(25 responses)- A12% (3)
- B4% (1)
- D4% (1)
- E80% (20)
Community Discussion
No community discussion yet for this question.