如何以oracle形式读取URL的参数 [英] How to read the parameters of URL in oracle form

查看:50
本文介绍了如何以oracle形式读取URL的参数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Oracle Form 10我想知道如何以oracle形式

I am using Oracle form 10 I want to know how can I access the parameters of URL in oracle form

例如:每当我运行表单时,它就会在浏览器中打开,并且该URL就是

Ex: whenever I run the form it opens in a browser and the URL for the same is

http://112.10.0.10:7778/forms/frmservlet?config=pkamble

我只想知道如何在Oracle表单代码中访问'config'参数的值.

I just want to know how can I access the value of 'config' parameter inside oracle form code.

当我们先使用10g运行oracle表单

when we run oracle form using 10g then

我将感谢您的帮助!!

推荐答案

我不知道您是否可以读取config参数,但是要从URL读取另一个参数,您的URL必须像这样:

I don't know if you can read config parameter, but to read another parameter from URL your URL have to be like:

http://112.10.0.10:7778/forms/frmservlet?config=pkamble&otherparams=name=value

在您的.fmb中,您将必须在参数块中添加名称"参数,然后您可以执行以下操作:

In your .fmb you will have to add 'name' parameter in the parameters block and then you could do something like:

if :PARAMETER.name = 'value' then
 message('ok');
end if;

对于多个参数,请使用:

And for more than one parameter use:

http://112.10.0.10:7778/forms/frmservlet?otherparams=name1=value1+name2=value2+name3=value3

这篇关于如何以oracle形式读取URL的参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆