GetErrorCode
GetErrorCode is a Vision Data Access function that returns a diagnostic code from most structures and functions.
Note: If no error
code is available for the #ERR, GetErrorCode will return –1.
Using GetErrorCode
The general syntax of GetErrorCode is as follows:
GetErrorCode(Structure)