Home » Developer & Programmer » Forms » How to call Oracle 9i report from Oracle form 9i
How to call Oracle 9i report from Oracle form 9i [message #83397] Fri, 03 October 2003 04:59 Go to next message
Rahul
Messages: 94
Registered: December 1998
Member
Hi,
Anybody tell me how to call a report which i create using 9i from form 9i.
i create a report using oracle report 9i and its working fine.i the form 9i when in the when_button_pressed i want to call the report.
any please explain the steps? is there anything to added in the setup???
Thanks.
Re: How to call Oracle 9i report from Oracle form 9i [message #83400 is a reply to message #83397] Fri, 03 October 2003 14:57 Go to previous messageGo to next message
Zain
Messages: 30
Registered: October 2003
Member
Use web.show_document.
Check the online help for further details.
Re: How to call Oracle 9i report from Oracle form 9i [message #84019 is a reply to message #83400] Mon, 19 January 2004 00:39 Go to previous messageGo to next message
mohammed yahya
Messages: 1
Registered: January 2004
Junior Member
How to call Oracle 9i report from Oracle form 9i?
and how to run repserver90
Re: How to call Oracle 9i report from Oracle form 9i [message #84042 is a reply to message #83397] Wed, 21 January 2004 02:50 Go to previous messageGo to next message
Teani
Messages: 1
Registered: January 2004
Junior Member
Here is an example using run_product to start the report server and generate a report from forms. Check the documentation for this command to get more information about configuration possibilities.

declare
l_file varchar2 (80);
l_pl_id paramList;
l_pl_name varchar2(10) := 'repParm';
begin
l_file := 'Path and name of report to run';
l_pl_id := get_parameter_list(l_pl_name);
if not id_null(l_pl_id) then
destroy_parameter_list(l_pl_id);
end if;
l_pl_id := create_parameter_list(l_pl_name);
add_parameter(l_pl_id,'p_assignment_id',TEXT_PARAMETER,'custom parameter for report');
add_parameter(l_pl_id,'desname',TEXT_PARAMETER,
'path and filename of the output report');
add_parameter(l_pl_id,'desformat',TEXT_PARAMETER,'pdf');
add_parameter(l_pl_id,'destype',TEXT_PARAMETER,'file');
-- Call the reports server
run_product(REPORTS,l_file,SYNCHRONOUS,BATCH,FILESYSTEM,l_pl_id,null);
end;
Re: How to call Oracle 9i report from Oracle form 9i [message #84652 is a reply to message #84019] Sun, 11 April 2004 20:05 Go to previous message
Mike
Messages: 417
Registered: September 1998
Senior Member
rwserver -install repserver90 autostart=yes
Previous Topic: Dynamic Combo Box
Next Topic: reading/ writing from/to a file using other than util.file
Goto Forum:
  


Current Time: Wed May 08 14:56:06 CDT 2024