oracle 将报告保存到客户端 PC 上的文件?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3205072/
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
Saving a report to a file on a client PC?
提问by Ian Carpenter
I would be grateful for a quick sanity check!
如果能进行快速的健全性检查,我将不胜感激!
When calling Oracle Reports 10g from Oracle Forms 10g, is it possible to run an Oracle Report and save it on the users PC to a specified directory? (I know that if an Oracle Report is run in such a format as PDF the user can save the report to x location). To call the Oracle report I am using the Oracle Forms built-in "Run_Report_Object".
从 Oracle Forms 10g 调用 Oracle Reports 10g 时,是否可以运行 Oracle Report 并将其保存在用户 PC 上的指定目录中?(我知道如果 Oracle 报告以 PDF 等格式运行,用户可以将报告保存到 x 位置)。为了调用 Oracle 报告,我使用了 Oracle Forms 内置的“Run_Report_Object”。
I don't think it is (but would be happy to revise my opinion!) and to obtain such functionality I would have to implement something similar to what is discussed in this thread
我不认为是(但很乐意修改我的意见!)并且要获得这样的功能,我必须实现类似于本线程中讨论的内容
采纳答案by Ian Carpenter
I have amended my question to include the fact that I am using the Oracle Forms built-in "Run Report Object" to call Oracle Reports.
我已经修改了我的问题,以包括我使用 Oracle Forms 内置的“运行报告对象”来调用 Oracle 报告的事实。
There is a Oracle Report parameter: DESTYPE which can accept a value called LOCALFILE which saves the output to the client machine using the file name specified by DESNAME, however as I'm using "Run_Report_Object" it is not possible to use the value LOCALFILE.
有一个 Oracle 报告参数:DESTYPE,它可以接受名为 LOCALFILE 的值,该值使用 DESNAME 指定的文件名将输出保存到客户端计算机,但是由于我使用的是“Run_Report_Object”,因此无法使用值 LOCALFILE。
One solution is to follow the steps given here.
Sources:Oracle Reports 10g Help (look for DESTYPE), OTN thread
来源:Oracle Reports 10g 帮助(查找 DESTYPE)、 OTN 线程