HOW TO RUN REPORT FROM FORM? [message #242768] |
Tue, 05 June 2007 01:08 |
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 #243099 is a reply to message #242768] |
Wed, 06 June 2007 01:25 |
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)
|
|
|