How to Call Report in Form 1
How to Call Report in Form 1
In the name of Allah (God), Most Gracious, Most Merciful. Here I share my experience of
oracle development...
Lets talk about version 10g Developer Suite. In development environment you need to run report server manually but at
Application Server it's not needed.
rwserver SERVER=myserver
In your form under Reports Node create an report object and give name MYREPORT.
(Select Reports Node click on Create Icon(+), select Use Existing Report File then give
Make changes(Report Name) on following code and try this in a Button trigger
DECLARE
v_repid REPORT_OBJECT;
v_rep VARCHAR2(100);
v_rep_status VARCHAR2(100);
v_param VARCHAR2(200) := NULL;
v_valor VARCHAR2(200);
v_url VARCHAR2(2000);
v_repserver varchar2(20) := 'myserver';
Explore our developer-friendly HTML to PDF API Printed using PDFCrowd HTML to PDF
v_PARAMETRO varchar2(100) := '';
BEGIN
END;
Updated: 20/January/2013
13 comments:
Sorry for delay as for Eid Festival. No need to configure any other file. But at testing PC, you need to give a report server name and run
the server.
Thanks
Reply
Explore our developer-friendly HTML to PDF API Printed using PDFCrowd HTML to PDF
thanks for reply = ) can you elaborate more?
Reply
if :PROVISIONAL.BRAND='SREEVARI' THEN
IF :PROVISIONAL.final_inv_num IS NOT NULL THEN
-- Destroy_Parameter_List(pl_id);
PL_ID100:=GET_PARAMETER_LIST(THE_PARAM);
IF NOT ID_NULL(PL_ID100) THEN
DESTROY_PARAMETER_LIST(PL_ID100);
END IF;
PL_ID100:=CREATE_PARAMETER_LIST(THE_PARAM);--'CLIENT');
ADD_PARAMETER(PL_ID100,'DNO',TEXT_PARAMETER,:PROVISIONAL.final_inv_num);
MESSAGE('INVOICE NUMBER--'||:PROVISIONAL.final_inv_num);
Run_Product(REPORTS, 'D:\svct backup\sct\INVOICE-SVCT-PROV',SYNCHRONOUS,RUNTIME,FILESYSTEM,PL_ID100 ,
NULL);
Destroy_Parameter_List(pl_id100);
ELSE
MESSAGE(' PLEASE ENTER INVOICE NUMBER.....');
END IF;
END IF;
END;
Reply
Replies
Reply
as salam alakum Md. Hamidur Rahman Siddique, thank you to put this procedure on the web .. is very useful for me ,,,
Reply
Explore our developer-friendly HTML to PDF API Printed using PDFCrowd HTML to PDF
AOA,
as you wrote the procedure to call report from Form, what about KILLJOBID ? is not required in 10g or something else.
regards.
Reply
Is there a way to pass other different user from Forms 10g to Reports 10g? I mean, if I've connected to my app with X user, how I pass
a different user of X to Reports?
Explore our developer-friendly HTML to PDF API Printed using PDFCrowd HTML to PDF