To create Error messages on the Fly:
Required Fields:
"%ERRLEVL"='Z' | |
"%ERRCODE"='Z' | |
"%ERRTEXT"='text of thke message to display' |
Example syntax to generate a message that will display with the next screen/form stack:
WHERE "%USER" IS VALUED
THEN "UNN02"='dude this is an error',
"PCALC"=' "%ERRTEXT"="UNN02",$D=PCALC;',
"%ERRLEVL"='Z'
"%ERRCODE"='Z'
$P=CHPPDVAL,
$P=CHPPGEER