Run report from form
From: Giordano Torelli <giordanotorelli_at_yahoo.it.invalid>
Date: Mon, 12 Jan 2004 17:37:24 +0100
Message-ID: <btuhs8$n4t$1_at_grillo.cs.interbusiness.it>
[Quoted] Hello to everybody!
Date: Mon, 12 Jan 2004 17:37:24 +0100
Message-ID: <btuhs8$n4t$1_at_grillo.cs.interbusiness.it>
[Quoted] Hello to everybody!
I need to run a report from a form, developed with Oracle Forms Builder. [Quoted] To do this I have created a button with a trigger on the event WHEN-BUTTON-PRESSED, with the following PL/SQL code:
DECLARE
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
rep_status varchar2(20);
BEGIN
:GLOBAL.PROJECT_PATH:='c:\my_work_path\';
repid := find_report_object('ru.RDF');
v_rep := RUN_REPORT_OBJECT(repid);
END;
Forms Builder compile this, but when I run my form and I click on the
button, the following error message is displayed:
FRM-41219: Impossible to find the report: ID not valid.
Can you help me to solve this problem?
Thanks, regards,
Giordano Received on Mon Jan 12 2004 - 17:37:24 CET
