please i have this code on the meue medule to when i click this open report but give me error run_product(rep orts no longer use inestted (run_report_obj ect)
please can you change my code and replly to me
please can you change my code and replly to me
Code:
declare
pl paramlist;
the_PARAM VARCHAR2(40) := 'TEMPDATA';
BEGIN
PL := GET_PARAMETER_LIST(THE_PARAM);
IF NOT ID_NULL(PL) THEN
DESTROY_PARAMETER_LIST(PL);
END IF;
PL := CREATE_PARAMETER_LIST(THE_PARAM);
ADD_PARAMETER(PL,'p_COMP',TEXT_PARAMETER,:GLOBAL.COMP_C);
ADD_PARAMETER(PL,'USER_ID',TEXT_PARAMETER,:GLOBAL.USER_C);
ADD_PARAMETER(PL,'EMP_ID',TEXT_PARAMETER,:GLOBAL.EMP_ID);
------------------------------------------------------------------
add_parameter(PL,'maximize',text_parameter,'yes');
ADD_PARAMETER(PL,'PARAMFORM',TEXT_PARAMETER,'no');
run_product(REPORTS,getpath|| 'Reports\Customers',SYNCHRONOUS,RUNTIME,FILESYSTEM,PL);
--RUN_REPORT_OBJECT('E:\my_space\project\reports\reports\Customers');
END;