【发布时间】:2012-12-14 15:08:24
【问题描述】:
我想检查我的项目是否在我的数据库中变得唯一并且数据库中存在的项目必须明确(该项目)。
所以我对这个项目使用触发 when-validate-item 并为表单全局触发 when-timer-expired。
这是我的代码:
//触发when-Validate-item:
declare
i number;
vTimer TIMER;
begin
IF //condition then
i := show_alert('ERROR');
/* Create a timer with a 10 Millisecond delay */
vTimer :=create_timer('TEMP',10,no_repeat);
END IF;
end;
//定时器到期时触发
GO_BLOCK ('name_block');
:name_block.item1:=NULL;
DELETE_TIMER('TEMP');
但是在运行时,我得到了这个错误:
FRM-40202 必须输入字段
【问题讨论】:
标签: oracle triggers oracleforms