Hi everyone, am trying to insert a candidate info to my employee table when the status is changed to hired but it is not inserting the new record. I put the codes on page action but i don't know why is not working.
IF Status = Status :: Hired THEN BEGIN
Employee.INIT;
Employee."No." := 'PC037';
Employee."First Name" := "First Name";
Employee."Middle Name" := "Middle Name";
Employee."Last Name" := "Last Name";
Employee."Job Title" := "Job Title";
Employee.INSERT;
END
ELSE BEGIN
MESSAGE('THIS IS NOT INSERTING');
END;
*This post is locked for comments