form button when-button-press trigger
DECLARE
pl_id PARAMLIST;
pl_name VARCHAR2(10);
BEGIN
pl_name := 'temp';
pl_id := get_parameter_list(pl_name);
IF NOT ID_NULL(pl_id) THEN
destroy_parameter_list(pl_id);
END IF;
pl_id := create_parameter_list(pl_name);
add_parameter(pl_id, 'P_BOOKS_ID', TEXT_PARAMETER, name_in('ic_header.APPS_BOOKS_ID'));
add_parameter(pl_id, 'P_TR_ID', TEXT_PARAMETER, name_in('ic_header.tr_id'));
add_parameter(pl_id, 'P_user', TEXT_PARAMETER, name_in('ic_header.CREATED_BY'));
add_parameter(pl_id, 'PARAMFORM', TEXT_PARAMETER, 'NO');
run_product(REPORTS, 'SInv_Roll.RDF', SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id, '');
END;
this works well.
you have to actually press / push the button first for printing. Alt+P should be enough key strokes.
Alt+P is already set on button properties
Functional Access Key āPā
MY QUERY
can it be done without pressing the button.
can i apply any other plsql code on button for key strokes Alt+P
@teefu