IsEditError property: Record class
Description
This property is True if an error has been found for any field associated with the record after executing the ExecuteEdits method. This property can be used with the Field class properties EditError (to find out which field is in error), and MessageSetNumber and MessageNumber to find the error message set number and error message number.
The IsEditError property returns True when a field with a Null value is encountered.
This property is read-only.
Example
The following is an example showing how IsEditError, along with the ExecuteEdits method could be used:
&REC.ExecuteEdits();
If &REC.IsEditError Then
For &I = 1 to &REC.FieldCount
If &REC.GetField(&I).EditError Then
LOG_ERROR(); /* application specific call */
End-If;
End-For;
End-If;