how can you reuse the code within the Orders form and ensure that all triggers that format

Exhibit:

The Summit application contains several different forms. You are developing the Orders form of the Summit application.
You have coded a trigger in the form to retrieve and format the address of the customer placing the order so that you can print a mailing label. However, as you add functionality you discover that you want to use the same code in several triggers in that form. The other forms in the application do not use this logic. Without creating a separate module, how can you reuse the code within the Orders form and ensure that all triggers that format and retrieve the customer address do it exactly the same way?

Exhibit:

The Summit application contains several different forms. You are developing the Orders form of the Summit application.
You have coded a trigger in the form to retrieve and format the address of the customer placing the order so that you can print a mailing label. However, as you add functionality you discover that you want to use the same code in several triggers in that form. The other forms in the application do not use this logic. Without creating a separate module, how can you reuse the code within the Orders form and ensure that all triggers that format and retrieve the customer address do it exactly the same way?

A.
Move the code to a PL/SQL program unit in the Orders form.

B.
Move the code to a PL/SQL library that you attach to the Orders form.

C.
Copy the code from the first trigger and paste it into other triggers that use it.

D.
Place the trigger in an Object Group and drag it whenever it is needed in the Orders form.

E.
Place the trigger in an Object Library and drag it whenever it is needed in the Orders form.



Leave a Reply 0

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