forms [message #144976] |
Sun, 30 October 2005 09:25 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
seyiisq
Messages: 125 Registered: September 2005
|
Senior Member |
|
|
the post-insert trigger below on my applicant form gave compilation error
Declare
i_duration number;
i_dob date;
begin
select duration_live_mth, dob into i_duration, i_dob from applicant where applicant_id = :applicant.applicant_id;
if
( i_duration < 6)
or
((sysdate - i_dob) BETWEEN 16 AND 17) then
message ('APPLICATION SHOULD BE SUSPENDED RIGHT AWAY IN THE APPLICATION TABLE...');
end if;
end;
please advice
|
|
|
Re: forms [message #144994 is a reply to message #144976] |
Sun, 30 October 2005 22:40 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
![](/forum/images/custom_avatars/67467.jpg) |
djmartin
Messages: 10181 Registered: March 2005 Location: Surges Bay TAS Australia
|
Senior Member Account Moderator |
|
|
What was the compilation error?
David
|
|
|