Hi,
I have a Form with a field called app_date. When a new record is created I want the current date to be inserted into this field, and then ideally locvked so it cant be changed in future.
However, i am currentely stuck just trying to insert the date into the field.
I have the following PL/SQL behind 'WHEN-CREATE-RECORD':
DECLARE
BEGIN
:applicant.app_date := sysdate;
END;
applicant is the name of the datablock/underlying table. When I compile I dotn get any errors, but as said, it doesnt work. If anyone has any ideas, your comments rae much appreciated.
Rob
I have a Form with a field called app_date. When a new record is created I want the current date to be inserted into this field, and then ideally locvked so it cant be changed in future.
However, i am currentely stuck just trying to insert the date into the field.
I have the following PL/SQL behind 'WHEN-CREATE-RECORD':
DECLARE
BEGIN
:applicant.app_date := sysdate;
END;
applicant is the name of the datablock/underlying table. When I compile I dotn get any errors, but as said, it doesnt work. If anyone has any ideas, your comments rae much appreciated.
Rob