I'm getting error FRM-41219: Cannot find report-Invalid ID
& FRM-40738 : Argument 1 to builtin RUN_REPORT_OBJECT cannot be null.
I have done all this -
====================================
Created a simple form with button for calling that report.
Created a new reports server service as following (in Command Prompt):
c:> rwserver -install repserver90 autostart=yes
Created a Report object and in the Property Palette for Reports object, enter the following:
Name: rep_name(This name is given in Run_Report Object
Filename: C:\reports\rep.rdf
into REPORTS_PATH environment variable
Report Destination Type: CACHE
Report Destination Format: HTML
Report Server: repserver90
In the form on when_button_pressed trigger, I've put the following code:-
===================================
DECLARE
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
rep_status VARCHAR2(20);
BEGIN
repid := FIND_REPORT_OBJECT('REPORT10');
v_rep := RUN_REPORT_OBJECT(repid);
rep_status := REPORT_OBJECT_STATUS(v_rep);
WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
LOOP
rep_status := report_object_status(v_rep);
END LOOP;
END;
======================
Please let me know if I have to anything more ?