Which triggers should you use?

There is a requirement to replace the standard List of Values functionality with a separate LOV from that will be invoked via a call to a procedure (show_lov_form).
This will be implemented via a button, but the [List] key and the Edit > Display List option in the default menu should also invoke the LOV form.
Which triggers should you use?

There is a requirement to replace the standard List of Values functionality with a separate LOV from that will be invoked via a call to a procedure (show_lov_form).
This will be implemented via a button, but the [List] key and the Edit > Display List option in the default menu should also invoke the LOV form.
Which triggers should you use?

A.
A form-level Key-Listval trigger with the code
DO_KEY(‘LIST_VALUES’);
and the When-Button-Pressed trigger with the code
show_lov_form;

B.
A form-level Key-Listval trigger with the code
DO_KEY(‘LIST_VALUES’);
and the When-Button-Pressed trigger with the code
DO_KEY(‘LIST_VALUES’);

C.
A form-level Key-Listval trigger with the code
show_lov_form;
and the When-Button-Pressed trigger with the code
DO_KEY(‘LIST_VALUES’);

D.
A form-level Key-Listval trigger with the code
LIST_VALUES;
and the When-Button-Pressed trigger with the code
EXECUTE_TRIGGER(‘show_lov_form’);



Leave a Reply 0

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