Home » Developer & Programmer » Forms » Calling Report from Forms (Forms 10g)
Calling Report from Forms [message #444603] Mon, 22 February 2010 23:18 Go to next message
abdulahads
Messages: 44
Registered: October 2009
Location: SAUDI
Member


Created a report object "REPORT62" in Forms Objectnavigator

Trigger on When Button Pressed

DECLARE
rep_id REPORT_OBJECT;
rep_result VARCHAR2(200);
BEGIN
rep_id := find_report_object('REPORT62');
rep_result := RUN_REPORT_OBJECT(rep_id);
END;

Report is called in the property
Filename C:\DevSuiteHome_1\forms\test.rdf


When button is pressed error is raised

There was a failure in the Form server during startup. This could happen due to invalid configuration.

Can someone help me.

Thanks
Re: Calling Report from Forms [message #447103 is a reply to message #444603] Thu, 11 March 2010 22:39 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Sorry that I have been so long in replying. Have you solved your problem?

Is this your first report? Is this your first form? I suggest using 'web.show_document' without the 'run_report_object'. Please search this forum for these keywords to see numerous other examples.

David
Re: Calling Report from Forms [message #447376 is a reply to message #447103] Sun, 14 March 2010 07:34 Go to previous messageGo to next message
abdulahads
Messages: 44
Registered: October 2009
Location: SAUDI
Member

Thanks David,
for your Support. i was really upset no neply for my last three question. But you replied for all thanks

now when using

Web.show_document ('/reports/rwservlet?reptest&server=Repsrv&paramform=
no&module=test2.rdf','_blank');

Error

REP-52005: The specified key reptest does not exist in key map file.


Re: Calling Report from Forms [message #447802 is a reply to message #447376] Thu, 18 March 2010 01:12 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Please post your code. Use 'code' tags and please present all the code in your routine.

Also look at http://www.orafaq.com/forum/t/126498/2/ for a working example.

David
Re: Calling Report from Forms [message #448407 is a reply to message #444603] Tue, 23 March 2010 04:24 Go to previous messageGo to next message
abdulahads
Messages: 44
Registered: October 2009
Location: SAUDI
Member

Thanks David.
It's done with the help of above posted url.

1.Now one more issue is just as we set seperate frame=true for forms to see maximazie window. how can we maximize the window for this report display


Thanks.
Re: Calling Report from Forms [message #448945 is a reply to message #448407] Thu, 25 March 2010 23:09 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Double-click the top bar? No idea. This is a report's question and there maybe something in that forum.

David
Previous Topic: Oracle.forms.webutil.file.FileFunctions bean not found
Next Topic: mail
Goto Forum:
  


Current Time: Fri Sep 20 10:35:11 CDT 2024