What changes must you make to the code so that the menu code functions as it does in the form?

The Orders form is sometimes run automatically and sometimes run from the Customers form, when it is run from the Customers form, any queries should be restricted to the customer that is currently selected. The Customers form button that runs the Orders form sets a global variable to the current customer ID.
The Orders form has a button labeled Execute Query with the following When-Button Pressed trigger:

You want to duplicate that functionality in a menu item for the Summit menu that is attached To the Orders form.
What changes must you make to the code so that the menu code functions as it does in the form?
A. Change both occurrence of :GLOBAL.customer_id to ‘GLOBAL.customer_id’.
B. Change’GLOBAL.customer_id’ in line 1 to GLOBAL.customer_id.
C. Change both occurrence of :GLOBAL.customer_id to NAMEJN (‘GLOBAL.customer_id’).
D. You do not need to change anything; the code compiles and functions correctly in the menu item.
E. You cannot add this type of code in the menu because it refers to the items on the form that cannot be referenced from a menu

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.