Hi all
i am trying to run a report from a form created in Developer 9i & it gives me an error saying "REP-0503 you did not specify the name of a report" although the name of the report is specified.
any suggestions as to what is to be done.
the code is as follows

DECLARE
v_repid REPORT_OBJECT := find_report_object('dept_rep');
v_rep VARCHAR2(100);
BEGIN
set_report_object_property(v_repid, REPORT_DESFORMAT,
TO_CHAR(NULL));
set_report_object_property(v_repid, REPORT_DESNAME,
TO_CHAR(NULL));
set_report_object_property(v_repid, REPORT_DESTYPE, PREVIEW);
--
v_rep := run_report_object(v_repid);
END;

thanks heaps
Joe