Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ok, I give up

Status
Not open for further replies.

chidi

Technical User
Mar 24, 2003
42
NG
/* If either call_id,request_id or resp_id is empty then
make sure that either completed_code is not 'Y', and Incompleted_Code is 'I' */


BEGIN
if :)token.r='Y' or :token.i is null)then
if :)token.call is null or :token.reqd is null or :token.resp is null
or :token_id.c1 is null or :token_id.c2 is null or :token.c3 is null) then
begin
message('RECORD CANNOT BE FINISHED WITHOUT A CAL_id, REQUEST_id AND RESP_id');
RAISE form_trigger_failure;
end;
end if;
end if;
END;

This code above is driving me nuts.
Before I even click on the forms to validate it, it throws out that exception.
Can anyone please help!
 
It is on when-validate-item trigger (block level).
thanks,
I moved it to post-insert trigger.
I think it is ok now.
Does the code look ok to you?
thanks,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top