HALLO!
I have created new row by BUFFER-CREATE()
and after writing values to fields i wanted to validate new row.
Validation with BUFFER-VALIDATE is ok when record is valid - it retrurns true, but when new record is not valid progres throws error message.
I'd like to menage this error by myself, but 'NO-ERROR' - don't work here :
result = bufferTable:BUFFER-VALIDATE() NO-ERROR.
... progress throws error to the screen and finish
IF NOT result OR ERROR-STATUS:ERROR OR bufferTable :ERROR THEN DO:
... something ...
END.
... thesame sytuation with BUFFER-RELEASE().
Why NO-ERROR don't work here ?
what should J do?
THANKS!
I have created new row by BUFFER-CREATE()
and after writing values to fields i wanted to validate new row.
Validation with BUFFER-VALIDATE is ok when record is valid - it retrurns true, but when new record is not valid progres throws error message.
I'd like to menage this error by myself, but 'NO-ERROR' - don't work here :
result = bufferTable:BUFFER-VALIDATE() NO-ERROR.
... progress throws error to the screen and finish
IF NOT result OR ERROR-STATUS:ERROR OR bufferTable :ERROR THEN DO:
... something ...
END.
... thesame sytuation with BUFFER-RELEASE().
Why NO-ERROR don't work here ?
what should J do?
THANKS!