oracle 编译oracle表单
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/6278888/
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
compile oracle form
提问by Amir
I want to know, can I compile oracle forms without using Oracle Form Builder?
我想知道,我可以在不使用Oracle Form Builder的情况下编译oracle表单吗?
I mean is there any command for compile them without open the oracle form? I am using a batch file for compile them, but for each file it open one time oracle form & close it, so I can not do any thing else... please advice me.
我的意思是是否有任何命令可以在不打开 oracle 表单的情况下编译它们?我正在使用批处理文件来编译它们,但是对于每个文件,它都会打开一次 oracle 表单并关闭它,所以我不能做任何其他事情......请给我建议。
I need it for Oracle forms 6i & 10g forms.
我需要它用于 Oracle 表单 6i 和 10g 表单。
I need log file as well if any error hits.
如果出现任何错误,我也需要日志文件。
回答by Tony Andrews
The progam frmcmp
can be run from the command line to compile a single form:
该程序frmcmp
可以从命令行运行以编译单个表单:
frmcmp userid=un/pw module=%%f batch=yes module_type=form compile_all=yes window_state=minimize
To do many you need to create a batch file (assuming on Windows) like:
要执行许多操作,您需要创建一个批处理文件(假设在 Windows 上),例如:
for %%f IN (*.fmb) do frmcmp userid=un/pw module=%%f batch=yes module_type=form compile_all=yes window_state=minimize
Any errors are written to a file with the same name as the form but with extension ".err".
任何错误都会写入与表单同名但扩展名为“.err”的文件中。