SetErrCode(ErrCode As Integer)

Form object

Sets the user-defined error code of the form. ErrCode must be an integer from 0 to 255. You choose the code and decide how to use it in Verify. Its intended purpose is external validation.

GetErrCode

The Form object