error run_product(reports no longer use inestted (run_report_object)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ncesm
    New Member
    • Feb 2013
    • 1

    error run_product(reports no longer use inestted (run_report_object)

    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


    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;
    Last edited by acoder; Feb 10 '13, 10:25 PM. Reason: Please use [code] tags when posting code
Working...