|
Re: Programatically maximising report runtime previewer window [message #183650 is a reply to message #182536] |
Fri, 21 July 2006 14:13 |
mkhalil
Messages: 108 Registered: July 2006 Location: NWFP Peshawar Pakistan
|
Senior Member |
|
|
I thanks to www.erpstuff.com who has solved my problem. I post the solution here so that other may enjoy it.
Here is the metalink note so try it and let us know.
Subject: How to Maximize the Report Previewer window when called from Forms
Doc ID: Note:146291.1 Type: PROBLEM
Last Revision Date: 21-NOV-2003 Status: PUBLISHED
Problem Description
-------------------
When a report is called from Forms using Run_Product, the Report Previewer
window is not maximized. This has to be done manually.
Is there any way to maximize the Report Previewer window automatically when
the report is called from Forms?
Solution Description
--------------------
Pass MAXIMIZE parameter with Run_product for maximizing the Report previewer
window.
Explanation
-----------
example:
DECLARE
pl_id ParamList;
BEGIN
pl_id := Get_Parameter_List('tmpdata');
IF NOT Id_Null(pl_id) THEN
Destroy_Parameter_List( pl_id );
END IF;
pl_id := Create_Parameter_List('tmpdata');
Add_Parameter(pl_id, 'MAXIMIZE', TEXT_PARAMETER, 'YES');
Run_Product(REPORTS, 'e:\emp.rdf', SYNCHRONOUS, RUNTIME,FILESYSTEM, pl_id, NULL);
END;
|
|
|