ERRORYESNO( Code, Yes-To-Screen, Yes-Repeat, No-To-Screen, No-Repeat, Question) – deprecated, use DISPLAYMESSAGE
ERRORYESNO instructions are processed at the same time as ERROR instructions are processed and triggered off the returned status code from a procedure call.
ERRORYESNO presents a question to the user. The user must answer Yes or No.
The Message parameter must contain the field that contains the message to display. Format needs to be VECTORFIELD.