Previous Next

GetMessageNum( ) method
Returns the error message number associated with the indexed error in the error object.
Return type:
Access:
Applies to:
 
Syntax 
GetMessageNum (INPUT MessageIndex AS INTEGER)
MessageIndex
The NumMessages property indicates the number of error message and number pairs in an error object. Specify an index between 1 and the value of the NumMessages property.
For Progress.Lang.SysError objects, the method returns the OpenEdge message number for the system generated error. For Progress.Lang.AppError objects, the application message number returned is the number provided to the AppError( ) constructor or the AddMessage( ) method. If there is no error message at the index, the method returns the empty string.
.NET Exception objects also do not use this method.
See also:

Previous Next
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.