【问题标题】:How could I enter a runtime WHERE condition in a Oracle Forms12?如何在 Oracle Forms 12c 中输入运行时 WHERE 条件?
【发布时间】:2021-12-11 22:03:24
【问题描述】:
在 Forms 6 运行时中有一个选项可以在文本字段中输入“:”以在运行时提示输入 WHERE 条件,以便用户可以输入任何他们想要的内容。
我们从 6i 升级到 12 后,该选项在 Forms12 中没有任何作用。
我们想知道 Forms 12 运行时中是否存在类似的东西,用于动态输入 WHERE 子句的条件。
任何帮助将不胜感激。
【问题讨论】:
标签:
dynamic
runtime
where-clause
oracle12c
oracleforms
【解决方案1】:
在表单设置的配置中,您已经定义了一个 .env 文件。
在这个 .env 文件中,您有一个选项 FORMS_RESTRICT_ENTER_QUERY,默认设置为 TRUE,因此您无法输入任何 sql,但如果您将其设置为 FALSE,您可以:
# Disable/remove this variable if end-users need access to the query-where
# functionality which potentially allows them to enter arbitrary SQL
# statements when in enter-query mode.
#
FORMS_RESTRICT_ENTER_QUERY=FALSE