Language Reference Guide : 4. System Classes : SessionObject Class : ExternalError Attribute
 
Share this page                  
ExternalError Attribute
Data Type: long (i4) integer
4GL Access: R
The ExternalError attribute stores the completion status of the last ActiveX operation as a Microsoft HRESULT type. You can determine whether the operation wass successful by checking the value of CurSession.ExternalError. If the value is non-zero, the operation failed.
When the value contained in the ExternalError attribute is converted to a hexadecimal string, you can look it up in the winerr.h file to determine the nature of the error that occurred.