Home » Developer & Programmer » Reports & Discoverer » HOW TO RUN REPORT FROM FORM?
HOW TO RUN REPORT FROM FORM? [message #242768] Tue, 05 June 2007 01:08 Go to next message
khan.shiraaz
Messages: 4
Registered: May 2007
Junior Member
Hi All,

Im new not able to run report through froms plz HELP.
this is wat i did

--> created a from module with emp block (a tabular one )
--> created a report using report object in the module
--> i chose "form like " style(as i waant to display only one record at a time)
-->renamed the report object to "myrep"
--> created a push button and wrote the fallowing code

DECLARE
R REPORT_OBJECT;
V VARCHAR2(10);
BEGIN
R:=FIND_REPORT_OBJECT('MYREP');
V:=RUN_REPORT_OBJECT(R);
END;

COMILED SUCCESSFULLY
BUT WHEN I PRESSED THE PUSH BUTTON TO RUN THE REPORT I GET A BLANK REPORT WITH THE WINDOW TITLED "EMPREP.LIS-MICROSOFT OFFICE DOCUMENT IMAGING"


THANKS
SHIRAZ



Re: HOW TO RUN REPORT FROM FORM? [message #242815 is a reply to message #242768] Tue, 05 June 2007 03:57 Go to previous messageGo to next message
hemavb
Messages: 103
Registered: May 2007
Location: Dubai , UAE
Senior Member
Which version of forms and report are you using?
Re: HOW TO RUN REPORT FROM FORM? [message #243099 is a reply to message #242768] Wed, 06 June 2007 01:25 Go to previous message
oracleproblem
Messages: 47
Registered: May 2006
Location: Dhaka
Member
hi you run this procedure

DECLARE
pl_id ParamList;

BEGIN

Run_Product(REPORTS, 'D:\BracBank(checkprint)\CheckFrontPage.RDF', SYNCHRONOUS, RUNTIME,FILESYSTEM, pl_id, NULL);

END;


D:\BracBank(checkprint)\CheckFrontPage.RDF
(this is the path of report).

MasudRaihan(Dhaka.Bangladesh)
Previous Topic: Placeholder column
Next Topic: one parameter multipole valus
Goto Forum:
  


Current Time: Thu Jul 04 12:00:13 CDT 2024