I can't run a report file .rdf from Forms.
I added a report to Forms Object Navigator under Reports. My trigger code is:
declare
repid REPORT_OBJECT;
report VARCHAR2(100);
begin
repid := FIND_REPORT_OBJECT('REPORT1');
report:= RUN_REPORT_OBJECT(repid);
end;
The error message is:
"REP-0503 You did not specify the name of a report."
But I did! I set in the property palette of that report name field as REPORT1, filename field as D:\project\my_report.rdf
What is wrong? Anyone knows?
I added a report to Forms Object Navigator under Reports. My trigger code is:
declare
repid REPORT_OBJECT;
report VARCHAR2(100);
begin
repid := FIND_REPORT_OBJECT('REPORT1');
report:= RUN_REPORT_OBJECT(repid);
end;
The error message is:
"REP-0503 You did not specify the name of a report."
But I did! I set in the property palette of that report name field as REPORT1, filename field as D:\project\my_report.rdf
What is wrong? Anyone knows?