I have a variable E_Check which is the sum of QE1P + QE1T which is compared with E1TOT ... if there is difference and I want to correct the programme ends and error 1010 pop up. The codes use is below...
PROC E_CHECK
Preproc
E_CHECK = QE1P +QE1T;
Noinput;
Postproc
if $<>QE1TOT then
errmsg("Inconsistencies between total no. of persons engaged ");
reenter QE1TOT;
endif;
help : Error 1010
Re: help : Error 1010
Check if field QE1TOT is protected.