ErrCode Property

Returns the error code for the last operation.

Syntax

&DataType.ErrCode

Type Returned:
Numeric
 
Where:
DataType
Is the variable name of the DBConnection, Directory, ExcelDocument, File, HttpClient, HttpRequest, HttpResponse, MAPISession, OutlookSession, POP3Session, SMTPSession, WordDocument, XMLWriter or XMLReader type.

Description

This property is read only, it cannot be assigned.

Scope

Extended Data Types: DBConnection, Directory, ExcelDocumentFile, HttpClient, HttpRequest, HttpResponse, MAPISession, OutlookSession, POP3Session, SMTPSession, WordDocument, XMLWriter, XMLReader
Objects: Procedures, Transactions, Web Panels
Languages: .NET, Java, Ruby(up to GeneXus X Evolution 3),  Visual FoxPro (up to GeneXus X Evolution 3)

See Also

ErrDescription Property
ErrDisplay Property
DBConnection Data Type
ExcelDocument Data Type
HttpClient Data Type
HttpRequest Data Type
HttpResponse Data Type
MAPISession Data Type
OutlookSession Data Type
SMTPSession Data Type
WordDocument Data Type
XMLWriter Data Type
XMLReader Data Type
Error Codes and Messages for ExcelDocument
Error Codes and Messages for MAPISession
Error Codes and Messages for OutlookSession
Error Codes and Messages for POP3Session
Error Codes and Messages for SMTPSession
Error Codes and Messages for WordDocument
Error Codes and Messages for DBConnection