Home » Developer & Programmer » Forms » Unable to run reports (10g)
Unable to run reports [message #301243] Tue, 19 February 2008 16:04 Go to next message
Leonard Martin
Messages: 45
Registered: May 2002
Location: Canada
Member
Hello All
I have a simple form (10g) and i am trying to call a report.

I get an error "Cannot Find Report: Invalid ID"
I have started OC4J instance and ensured that the path is in the registry REPORTS_PATH AND FORMS_PATH.

Can anyone help me with this:

The code to call the report is very simple (see below):

declare
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
begin
message('hello');
repid := FIND_REPORT_OBJECT('lpss_wsp_sites');
v_rep := RUN_REPORT_OBJECT(repid);
end;
Re: Unable to run reports [message #301286 is a reply to message #301243] Tue, 19 February 2008 23:56 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Please look at http://www.orafaq.com/forum/m/144539/67467/?srch=web.show_document#msg_144539

Use 'web.show_document'.

David
Re: Unable to run reports [message #301771 is a reply to message #301286] Thu, 21 February 2008 11:13 Go to previous messageGo to next message
Leonard Martin
Messages: 45
Registered: May 2002
Location: Canada
Member
Hi David:
Now i get the following error:

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

I am using 10g and I ensured that the registry is updated to the folder where the report and forms reside.

Re: Unable to run reports [message #301816 is a reply to message #301771] Thu, 21 February 2008 18:13 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Please look at http://www.orafaq.com/forum/t/52754/2/

Try googling the error message that you received.

Please post your code.

David
Previous Topic: Error while generating FMX
Next Topic: Change a display item at run time
Goto Forum:
  


Current Time: Mon Feb 03 02:48:36 CST 2025