Forms 10G [message #273414] |
Wed, 10 October 2007 06:41 |
tenny
Messages: 3 Registered: October 2007
|
Junior Member |
|
|
Hi,
I have migrated to forms 10g recently from forms 6i, i got some queries related to calling Multiple reports based on option selected.
Say if User select option A1 then report must be Rep1, IF B1 then report must be Rep2 and so on, My question is do i need to create/Add all Rep1,Rep2 ... under report node of Forms or i can just Add one report say rep1 and call them using Report_filename at runtime based on option. If this is possible can anyone give me some clues
thank in advance
Tenny
|
|
|
|
Re: Forms 10G [message #273649 is a reply to message #273605] |
Thu, 11 October 2007 03:26 |
tenny
Messages: 3 Registered: October 2007
|
Junior Member |
|
|
Thanks David for your prompt reply
In my case i am using run_report_object to process the report as i am passing parameter list to
report and then using web.show_document to open in new window
I have a common parameter form, based on user choice different report are being called, as i form
the entire sql query in form based on parameter values and pass it to report which uses lexical parameter,
so i have almost 60 differnt reports being called from this form,but only one is called at a time
Any tips on how to go about this
thank you in advance
|
|
|
|
Re: Forms 10G [message #274282 is a reply to message #273858] |
Mon, 15 October 2007 06:12 |
tenny
Messages: 3 Registered: October 2007
|
Junior Member |
|
|
Hi David,
i just tried the below mention code to call report from forms using web.show_document
declare
P_REP_URL VARCHAR2(4000);
BEGIN
p_rep_url:= '/reports/rwservlet?server=rep_fsprod&report=reptst.rdf&desformat=PDF&destype=cache'||
'&userid=scott23/lion@acl¶mform=no' ;
WEB.SHOW_DOCUMENT(p_rep_url,'_blank');
END;
i have already set reports_path and rep_fsprod server is also runing, but still following errors are raised
REP-110: Unable to open file 'reptst.rdf'.
REP-1070: Error while opening or saving a document.
REP-0110: Unable to open file 'reptst.rdf'.
Am i missing something in my code?
|
|
|
|