从 ORACLE Forms 在客户端打开文件

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2988385/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-18 20:46:02  来源:igfitidea点击:

Open files on client side from ORACLE Forms

oracleexcelfileformsclient-side

提问by Mousarules

I'm trying to put a code on a button so that the user would be able to open a specific excel file whenever he pressed it , unfortunately the code i was using ( AppID ) happened to be opening the file on the server side not the client side ; please find the code below :

我试图在按钮上放置一个代码,以便用户在按下它时能够打开特定的 excel 文件,不幸的是,我使用的代码(AppID)碰巧是在服务器端打开文件而不是客户端 ; 请找到以下代码:

DECLARE
    AppID PLS_INTEGER;
BEGIN        
    AppID := DDE.App_Begin('C:\Program Files\Microsoft Office\Office12\WINWORD.EXE    C:\test\'||:TT_PER_RF_MAIN.T_NUMBER||'.docx', DDE.APP_MODE_NORMAL);    
END;   

Can anyone help me how to let the users ( client side ) be able to open it on thier own PCs?

任何人都可以帮助我如何让用户(客户端)能够在他们自己的 PC 上打开它?

采纳答案by Erich Kitzmueller

You are looking for the HOST command. In Forms 10g, it's in the WebUtil component.

您正在寻找 HOST 命令。在 Forms 10g 中,它位于 WebUtil 组件中。