Please Help Me Previewing Report in paper layout [message #343035] |
Tue, 26 August 2008 00:12 |
m_golam_hossain
Messages: 89 Registered: August 2008 Location: Uttara, Dhaka, Bangladesh
|
Member |
|
|
Hi,
I have
a form c:\testdir\forms\test4.fmb/fmx and
a report c:\testdir\reports\test4.rdf/rep
both created in developer 6i.
I installed developer suite 10g.
I re-compiled both the form and report in developer suite 10g.
To run the report from the form I have written code as below:
DECLARE
Repid REPORT_OBJECT;
v_rep VARCHAR2(100);
rep_status VARCHAR2(20);
BEGIN
repid := FIND_REPORT_OBJECT('c:\testdir\reports\test4');
v_rep := RUN_REPORT_OBJECT(repid);
END;
While running the above mentioned codes shows error FRM-41219: Can not find report: Invalid ID.
My OC4J is running. I am sure the form and report exist in the specified locations.
It may be mentioned that I also tried to use the form compilation time auto generated code
rp2rro.rp2rro_run_product(reports,:GLOBAL.REPORTDIR||'\test4',SYNCHRONOUS,runtime,filesystem,PL_ID,null);
Whereas global variable :GLOBAL.REPORTDIR:='c:\testdir\reports\';
I had previously copied rp2rro.pll and EnableDisableItem.pll files in forms directory c:\testdir\forms\.
I would be very much gratefull if someone can please help me to run the report in paper layout showing complete trigger.
Kind regards to the answer provider.
G. Hossain
[Updated on: Tue, 26 August 2008 03:47] Report message to a moderator
|
|
|