Dear
I wish to maximize report runtime previewer window programatically i.e when run_product statement execute the report preview should be maximize automatically. We should not maximize it by clicking the maximize icon of the window. Would you please help in the matter. I shall really thankfull to you.
Maximize Report Runtime Previewer
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;
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;
Who is online
Users browsing this forum: No registered users and 1 guest