咸阳个人兼职网站建设/免费制作小程序平台
Oracle Forms 10g中的Query / Where对话框(Query/Where dialog in Oracle Forms 10g)
在Oracle Forms 6i中,您可以在表单中输入查询模式,并在字段中键入&或:A ,当您执行查询时,将打开“查询/位置”对话框,允许您输入更复杂的查询或排序条件而不仅仅是在字段中输入数据允许。
这似乎不适用于表单10g:我得到“FRM-40367:示例记录中字段XX中的无效标准”错误。
有没有办法在Oracle Forms 10g中执行此操作? 如果重要的话,我们正在运行基于Web的服务器,而不是客户端服务器。
In Oracle Forms 6i, you could enter query mode in your form, and type & or :A in a field, and when you executed the query, a Query/Where dialog box would open, allowing you to enter more complex query or sorting criteria than just entering data in the fields allows.
This doesn't seem to work in Forms 10g: I get a "FRM-40367: Invalid Criteria in field XX in example record" error.
Is there some way to do this in Oracle Forms 10g? We're running web-based, not client-server, if that matters.
原文:https://stackoverflow.com/questions/451047
更新时间:2019-12-15 12:28
最满意答案
我在这里发布这个问题之后得到了答案。 在10g表单中,默认情况下禁用此功能,但可以通过设置启用
FORMS_RESTRICT_ENTER_QUERY=FALSE
在default.env文件中。 我们现在已经在我们的测试环境中启用了它,并且它按预期工作。
I came across the answer after I posted this question here. In 10g forms, this functionality is disabled by default, but can be enabled by setting
FORMS_RESTRICT_ENTER_QUERY=FALSE
in the default.env file. We have now enabled this in our test environment, and it is working as expected.
2009-01-17
相关问答
尝试在这两行之间放置同步命令: go_item('MyBlock.Item1');
Synchronize;
do_key('LIST_VALUES');
I finally found solution (using oracle's OTN discussion). The problem was stored procedure I call after first popping up of LOV. First time, after I chose a value I delete
...
在从9i升级到10g以及从Windows转换到Linux之前,我已经看到过这种行为。 要做的是在11g-linux编辑器中打开10g-windows创建的文件,将所有内容放在正确的位置,然后保存文件。 之后它应该正确呈现。 不幸的是,这是一个劳动密集型的解决方案。 我不确定这是一个错误还是.rdf文件不是平台和版本无关的。 I've seen this behaviour before when upgrading from 9i to 10g and when converting from W
...
我希望你不要使用firefox的64位版本,因为这样就行不通了。 如果您使用的是32位版本,则需要检查firefox浏览器中是否启用了java,有关如何启用java的更多信息,请查看以下链接 。 I hope you don't use the 64-bit version from firefox, because then this can't work. If you are using the 32-bit version then you need to check that java
...
不要将其设置为最大化以开始,然后您不能再更改尺寸。 然后我使用这段代码: declare
mdiwidth number;
mdiheight number;
winid window;
v_window VARCHAR2(50) := get_view_property(get_item_property( name_in( 'SYSTEM.CURSOR_ITEM' ), ITEM_CANVAS), WINDOW_NAME );
begin
wi
...
我在这里发布这个问题之后得到了答案。 在10g表单中,默认情况下禁用此功能,但可以通过设置启用 FORMS_RESTRICT_ENTER_QUERY=FALSE
在default.env文件中。 我们现在已经在我们的测试环境中启用了它,并且它按预期工作。 I came across the answer after I posted this question here. In 10g forms, this functionality is disabled by default, but c
...
没有自动执行此操作的方法,因此您需要导航到数据库块(如果此块不是表单的第一个导航数据块),然后执行内置Execute_Query的查询表单。 这可以例如在表单级别触发器中完成时 - 新形式 - 实例: Go_Block();
Execute_Query;
There is no automatic way of doing this so you need to navigate to the database block (if th
...
您可以为每个图标添加WHEN-MOUSE-ENTER或WHEN-MOUSE-LEAVE触发器,并包含show_canvas()调用以显示堆叠的画布 You can add a WHEN-MOUSE-ENTER or a WHEN-MOUSE-LEAVE trigger for each of the icons and include a show_canvas() call to show the stacked canvas
似乎:output_header.text_item48已经是一个char项,所以不需要使用to_char进行转换,使用以下代码进行测试: declare
x number;
c varchar2(5);
n varchar2(25);
begin
select COUNT(*) into x from CUSTOMERS where CUSTOMERS.cus_name=:output_header.text_item48;
if x > 0
then
NULL;
else
IF S
...
我认为它可以在任何地方工作,这令人惊讶。 您在内联视图中使用别名T,但它仅在外部选择中定义。 在审核评论和其他答案中链接的所有信息后进行更新: 根据Tom Kyte的说法,它实际上在一个/某个版本中工作的事实是该版本中的一个错误,它是这种信息的一个非常可靠的来源: http : //asktom.oracle.com/pls/asktom/f? p = 100:11:0 :::: P11_QUESTION_ID:1853075500346799932#1859169400346361423 在这里
...
它通常是TNS问题,你有多个tns文件,仔细检查所有这些都不需要TNS_ADMIN It is usually TNS problem, you have multiple tns files, double check all of them TNS_ADMIN is not required