Home » Developer & Programmer » Forms » forms
forms [message #144976] Sun, 30 October 2005 09:25 Go to next message
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
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
What was the compilation error?

David
Previous Topic: connecting database manually ( programmically )
Next Topic: deleteing a record from database using delete_record
Goto Forum:
  


Current Time: Fri Sep 20 03:43:43 CDT 2024