GetErrorCode() As Integer

Field object

Returns the field’s error code (the one that is shown in the dialog when you verify the field). If an error message is set for the field, then this is shown with the error code.

GetErrorMessage

SetErrorCode

The Field object