Tips


READ Trigger

The uniface structure editor uses the return codes of triggers like READ to determine the status of I/O processing. Many people inadvertently alter $status by performing a run or sql statement, then return THAT code rather than the READ code:

read
if ($status) done
$status$ = $status
call p_read
return $status$