码迷,mamicode.com
首页 > 数据库 > 详细

Using Call_Form in Oracle D2k

时间:2016-12-26 00:04:02      阅读:232      评论:0      收藏:0      [点我收藏+]

标签:hid   lin   cin   exists   mod   char   add   _id   ddc   

Using Call_Form in Oracle D2k


CALL_FORM examples
/* Example 1:
** Call a form in query-only mode.
*/
BEGIN
CALL_FORM(’empbrowser’, no_hide, no_replace, query_only);
END;
/* Example 2:
** Call a form, pass a parameter list (if it exists)
*/
DECLARE
pl_id PARAMLIST;
theformname VARCHAR2(20);
BEGIN
theformname := ’addcust’;
/* Try to lookup the ’TEMPDATA’ parameter list */
pl_id := GET_PARAMETER_LIST(’tempdata’);
IF ID_NULL(pl_id) THEN
CALL_FORM(theformname);
ELSE
CALL_FORM(theformname,
hide,
no_replace,
no_query_only,
pl_id);
END IF;
CALL_FORM(’lookcust’, no_hide, do_replace, query_only);
END;

Using Call_Form in Oracle D2k

标签:hid   lin   cin   exists   mod   char   add   _id   ddc   

原文地址:http://www.cnblogs.com/quanweiru/p/6220787.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!