Using CHPPGEER to build error/information messages 'on the fly'

To create Error messages on the Fly:

Required Fields:

bullet"%ERRLEVL"='Z' 
bullet"%ERRCODE"='Z' 
bullet"%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