Oracle
1Z0-141 · Question #6
In the Orders form, you create a button in the CONTROL block to send the input focus to the INVENTORIES block and cause it to be queried. You write this code in a When-Button-Pressed trigger…
The correct answer is C. The form compiles and runs as required. Focus moves to the INVENTORIES block, and it is. See the full explanation below for the reasoning.
Question
In the Orders form, you create a button in the CONTROL block to send the input focus to the INVENTORIES block and cause it to be queried. You write this code in a When-Button-Pressed trigger:
GO_BLOCK('Inventories'); EXECUTE_QUERY; What happens when you test the form?
Options
- AThe form will not compile because the block name must be uppercase.
- BThe form compiles, but clicking the button causes a Navigation Trap to be encountered.
- CThe form compiles and runs as required. Focus moves to the INVENTORIES block, and it is
- DThe form compiles and focus moves to the INVENTORIES block. But because the internal
- EThe form compiles, but clicking the button causes an error message to appear. GO_BLOCK()
- FThe form compiles, but clicking the button leaves the focus in the original block, which is then
How the community answered
(32 responses)- A6% (2)
- C81% (26)
- D3% (1)
- F9% (3)
Community Discussion
No community discussion yet for this question.